starknet 3.15.0 → 3.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,19 +8,21 @@ on:
8
8
  jobs:
9
9
  build-and-test:
10
10
  runs-on: ubuntu-latest
11
- strategy:
12
- matrix:
13
- node-version:
14
- - 14.x
11
+
15
12
  env:
16
- TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
17
- TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
13
+ TEST_PROVIDER_BASE_URL: http://127.0.0.1:5050/
14
+ services:
15
+ devnet:
16
+ image: janek2601/starknet-devnet-patched
17
+ ports:
18
+ - 5050:5050
19
+
18
20
  steps:
19
21
  - uses: actions/checkout@v2
20
- - name: Use Node.js ${{ matrix.node-version }}
22
+ - name: Use Node.js 14
21
23
  uses: actions/setup-node@v2
22
24
  with:
23
- node-version: ${{ matrix.node-version }}
25
+ node-version: lts/*
24
26
  - run: npm ci
25
27
  - run: npm run build --if-present
26
28
  - run: npm test
@@ -4,12 +4,19 @@ on:
4
4
  branches:
5
5
  - main
6
6
  - develop
7
+
7
8
  jobs:
8
9
  build-and-test:
9
10
  runs-on: ubuntu-latest
11
+
10
12
  env:
11
- TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
12
- TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
13
+ TEST_PROVIDER_BASE_URL: http://127.0.0.1:5050/
14
+ services:
15
+ devnet:
16
+ image: janek2601/starknet-devnet-patched
17
+ ports:
18
+ - 5050:5050
19
+
13
20
  steps:
14
21
  - uses: actions/checkout@v2
15
22
  - name: Use Node.js 14
@@ -24,10 +31,29 @@ jobs:
24
31
  with:
25
32
  name: build
26
33
  path: dist
34
+
35
+ integration-test:
36
+ runs-on: ubuntu-latest
37
+
38
+ env:
39
+ TEST_PROVIDER_BASE_URL: https://alpha4.starknet.io
40
+ TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
41
+ TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}
42
+ TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
43
+
44
+ steps:
45
+ - uses: actions/checkout@v2
46
+ - name: Use Node.js 14
47
+ uses: actions/setup-node@v2
48
+ with:
49
+ node-version: lts/*
50
+ - run: npm ci
51
+ - run: npm test
52
+
27
53
  release:
28
54
  name: Release
29
55
  runs-on: ubuntu-latest
30
- needs: [build-and-test]
56
+ needs: [build-and-test, integration-test]
31
57
  steps:
32
58
  - uses: actions/checkout@v2
33
59
  - uses: actions/setup-node@v2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [3.15.1](https://github.com/0xs34n/starknet.js/compare/v3.15.0...v3.15.1) (2022-06-17)
2
+
3
+ ### Bug Fixes
4
+
5
+ - response type for get-transaction ([a232725](https://github.com/0xs34n/starknet.js/commit/a232725099893b45fd6feda0a4cac7d05f903435))
6
+
1
7
  # [3.15.0](https://github.com/0xs34n/starknet.js/compare/v3.14.1...v3.15.0) (2022-06-16)
2
8
 
3
9
  ### Bug Fixes