Skip to content

Commit 1a26717

Browse files
authored
Merge pull request #93 from nash-io/ts/update-nash-protocol-timestamp32
Ts/update nash protocol timestamp32
2 parents 50b5f4b + e45808f commit 1a26717

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
<a name="6.3.13"></a>
6+
## [6.3.13](https://github.com/nash-io/api-client-typescript/compare/v6.3.11...v6.3.13) (2021-10-12)
7+
8+
9+
510
<a name="6.3.11"></a>
611
## [6.3.11](https://github.com/nash-io/api-client-typescript/compare/v6.3.9...v6.3.11) (2021-10-12)
712

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neon-exchange/api-client-typescript",
3-
"version": "6.3.11",
3+
"version": "6.3.13",
44
"description": "Official TypeScript client for interacting with the Nash exchange",
55
"main": "build/main/index.js",
66
"typings": "build/main/index.d.ts",
@@ -61,7 +61,7 @@
6161
"dependencies": {
6262
"@absinthe/socket": "0.2.1",
6363
"@neon-exchange/nash-perf": "1.0.4",
64-
"@neon-exchange/nash-protocol": "4.5.4",
64+
"@neon-exchange/nash-protocol": "4.5.6",
6565
"@types/isomorphic-fetch": "0.0.35",
6666
"@types/node": "13.9.8",
6767
"@types/request": "2.48.1",

src/client/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ export class Client {
863863
this.nashProtocolMarketData = mapMarketsForNashProtocol(this.marketData)
864864
this.assetData = await this.fetchAssetData()
865865
this.pallierPkStr = JSON.stringify(this.apiKey.paillier_pk)
866-
this.currentOrderNonce = 0
866+
this.currentOrderNonce = createTimestamp32()
867867
await this.updateTradedAssetNonces()
868868
}
869869

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -738,10 +738,10 @@
738738
node-fetch "2.6.0"
739739
semver "7.3.2"
740740

741-
"@neon-exchange/nash-protocol@4.5.4":
742-
version "4.5.4"
743-
resolved "https://registry.yarnpkg.com/@neon-exchange/nash-protocol/-/nash-protocol-4.5.4.tgz#b138fb67bdfc5db48503b280ba793e7d17bf39d3"
744-
integrity sha512-W5mJo/WujGZ/zZZDw/ScOxRK995nUcCRjpGzWpIJCDFnWSKIEZrtyM46PiKhrcGEjgjknPLa8PSAG7PknZsfDw==
741+
"@neon-exchange/nash-protocol@4.5.6":
742+
version "4.5.6"
743+
resolved "https://registry.yarnpkg.com/@neon-exchange/nash-protocol/-/nash-protocol-4.5.6.tgz#44f123b5a2aacbfff8c4d7cfe3ef7fc26b7cecd1"
744+
integrity sha512-kbrBTQkR2/dvLZHi31Ey2EdJ2tFH1wZwYGQp2N7jI6gID82muwL5B2BI7m71jUT4rQEE6i5tMGrbIPnVhpG4AA==
745745
dependencies:
746746
bchaddrjs "^0.5.2"
747747
bignumber.js "8.1.1"

0 commit comments

Comments
 (0)