Skip to content

Commit c4889b6

Browse files
authored
Merge pull request #61 from nash-io/ts/update-nash-protocol-fillorder
Ts/update nash protocol fillorder
2 parents 32980b8 + 5130b42 commit c4889b6

File tree

6 files changed

+54
-17
lines changed

6 files changed

+54
-17
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: actions/setup-node@v2-beta
1313
with:
14-
node-version: '10'
14+
node-version: '14'
1515
- run: yarn install --frozen-lockfile
1616
- run: yarn test:lint
1717
- run: yarn test:unit

.github/workflows/deploy-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v2-beta
1717
with:
18-
node-version: '10'
18+
node-version: '14'
1919
- run: yarn install --frozen-lockfile
2020
- run: yarn doc
2121

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
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.0.7"></a>
6+
## [6.0.7](https://github.com/nash-io/api-client-typescript/compare/v5.2.25...v6.0.7) (2021-01-26)
7+
8+
9+
10+
<a name="6.0.5"></a>
11+
## [6.0.5](https://github.com/nash-io/api-client-typescript/compare/v6.0.3...v6.0.5) (2021-01-21)
12+
13+
14+
15+
<a name="6.0.3"></a>
16+
## [6.0.3](https://github.com/nash-io/api-client-typescript/compare/v5.2.29...v6.0.3) (2021-01-21)
17+
18+
19+
20+
<a name="6.0.1"></a>
21+
## [6.0.1](https://github.com/nash-io/api-client-typescript/compare/v5.2.25...v6.0.1) (2020-12-15)
22+
523
<a name="5.2.29"></a>
624
## [5.2.29](https://github.com/nash-io/api-client-typescript/compare/v5.2.27...v5.2.29) (2021-01-19)
725

@@ -11,7 +29,6 @@ All notable changes to this project will be documented in this file. See [standa
1129
## [5.2.27](https://github.com/nash-io/api-client-typescript/compare/v5.2.25...v5.2.27) (2020-12-16)
1230

1331

14-
1532
<a name="5.2.25"></a>
1633
## [5.2.25](https://github.com/nash-io/api-client-typescript/compare/v5.2.23...v5.2.25) (2020-12-15)
1734

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ NOTE: In sandbox, testnet funds are automatically sent to new accounts. The sand
1111

1212
## Installation
1313

14+
Requires usage of Node 14 or greater.
15+
1416
```sh
1517
yarn add @neon-exchange/api-client-typescript
1618
```
@@ -20,6 +22,11 @@ yarn add @neon-exchange/api-client-typescript
2022
To get started you need to create an API key. You can find instructions on how to do so further down in this Readme.
2123
Remember, API Keys contain sensitive infomation, if you are using version control be careful not to store the key in the repository.
2224

25+
## API Compatibility
26+
27+
Versions 6 and above include a change to order placement logic. The previous order placement logic will no longer be compatible with the exchange, so it is highly recommended to upgrade to version 6 or higher as previous versions will be deprecated.
28+
29+
2330
## Usage
2431

2532
```typescript

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@neon-exchange/api-client-typescript",
3-
"version": "5.2.29",
3+
"version": "6.0.7",
44
"description": "Official TypeScript client for interacting with the Nash exchange",
55
"main": "build/main/index.js",
66
"typings": "build/main/index.d.ts",
@@ -56,13 +56,13 @@
5656
"prepare-release": "One-step: clean, build, test, publish docs, and prep a release"
5757
},
5858
"engines": {
59-
"node": ">=8.9 <11.0.0"
59+
"node": ">=14.3"
6060
},
6161
"dependencies": {
6262
"@absinthe/socket": "0.2.1",
6363
"@cityofzion/neon-js": "4.7.2",
6464
"@neon-exchange/nash-perf": "1.0.4",
65-
"@neon-exchange/nash-protocol": "3.3.12",
65+
"@neon-exchange/nash-protocol": "4.0.7",
6666
"@types/isomorphic-fetch": "0.0.35",
6767
"@types/node": "13.9.8",
6868
"@types/request": "2.48.1",

yarn.lock

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -784,10 +784,10 @@
784784
node-fetch "2.6.0"
785785
semver "7.3.2"
786786

787-
"@neon-exchange/nash-protocol@3.3.12":
788-
version "3.3.12"
789-
resolved "https://registry.yarnpkg.com/@neon-exchange/nash-protocol/-/nash-protocol-3.3.12.tgz#c4307ad227237f2ba54b3008e7b873bc12431b7f"
790-
integrity sha512-jjFmeGh2lEaFpXJnjZbsEcJPWOsaSAc1HFrtn7gyI8844mEjt9P2mcPJrWuzBbQ3TMFs4ESSXs4qZkZeun/HfA==
787+
"@neon-exchange/nash-protocol@4.0.7":
788+
version "4.0.7"
789+
resolved "https://registry.yarnpkg.com/@neon-exchange/nash-protocol/-/nash-protocol-4.0.7.tgz#65c927db5a0c38e1e58c7bc7ba1853d45900c132"
790+
integrity sha512-9AVwl61ZpLA3KiM9fRVpG/y0OoYepwwrEk4ZlSBd2FeVCmGqN8cR0VN9DkkVLipD+mQ6/TC88Ym4odp7T7KJmw==
791791
dependencies:
792792
bignumber.js "8.1.1"
793793
bip32 "2.0.3"
@@ -1598,7 +1598,20 @@ bip32@2.0.3:
15981598
typeforce "^1.11.5"
15991599
wif "^2.0.6"
16001600

1601-
bip32@^2.0.3, bip32@^2.0.4:
1601+
bip32@^2.0.3:
1602+
version "2.0.6"
1603+
resolved "https://registry.yarnpkg.com/bip32/-/bip32-2.0.6.tgz#6a81d9f98c4cd57d05150c60d8f9e75121635134"
1604+
integrity sha512-HpV5OMLLGTjSVblmrtYRfFFKuQB+GArM0+XP8HGWfJ5vxYBqo+DesvJwOdC2WJ3bCkZShGf0QIfoIpeomVzVdA==
1605+
dependencies:
1606+
"@types/node" "10.12.18"
1607+
bs58check "^2.1.1"
1608+
create-hash "^1.2.0"
1609+
create-hmac "^1.1.7"
1610+
tiny-secp256k1 "^1.1.3"
1611+
typeforce "^1.11.5"
1612+
wif "^2.0.6"
1613+
1614+
bip32@^2.0.4:
16021615
version "2.0.5"
16031616
resolved "https://registry.yarnpkg.com/bip32/-/bip32-2.0.5.tgz#e3808a9e97a880dbafd0f5f09ca4a1e14ee275d2"
16041617
integrity sha512-zVY4VvJV+b2fS0/dcap/5XLlpqtgwyN8oRkuGgAS1uLOeEp0Yo6Tw2yUTozTtlrMJO3G8n4g/KX/XGFHW6Pq3g==
@@ -6253,9 +6266,9 @@ nan@^2.12.1, nan@^2.13.2, nan@^2.14.0:
62536266
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==
62546267

62556268
nan@^2.2.1:
6256-
version "2.14.1"
6257-
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.1.tgz#d7be34dfa3105b91494c3147089315eff8874b01"
6258-
integrity sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==
6269+
version "2.14.2"
6270+
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
6271+
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
62596272

62606273
nano-json-stream-parser@^0.1.2:
62616274
version "0.1.2"
@@ -8488,9 +8501,9 @@ tiny-secp256k1@1.1.3, tiny-secp256k1@^1.1.1, tiny-secp256k1@^1.1.3:
84888501
nan "^2.13.2"
84898502

84908503
tiny-secp256k1@^1.1.0:
8491-
version "1.1.5"
8492-
resolved "https://registry.yarnpkg.com/tiny-secp256k1/-/tiny-secp256k1-1.1.5.tgz#3dc37b9bf0fa5b4390b9fa29e953228810cebc18"
8493-
integrity sha512-duE2hSLSQIpHGzmK48OgRrGTi+4OTkXLC6aa86uOYQ6LLCYZSarVKIAvEtY7MoXjoL6bOXMSerEGMzrvW4SkDw==
8504+
version "1.1.6"
8505+
resolved "https://registry.yarnpkg.com/tiny-secp256k1/-/tiny-secp256k1-1.1.6.tgz#7e224d2bee8ab8283f284e40e6b4acb74ffe047c"
8506+
integrity sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==
84948507
dependencies:
84958508
bindings "^1.3.0"
84968509
bn.js "^4.11.8"

0 commit comments

Comments
 (0)