dash-platform-sdk 1.0.2 → 1.0.3

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.
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <https://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
9
+
10
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
11
+
12
+ /*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "dash-platform-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "dist/main.js",
5
5
  "devDependencies": {
6
6
  "@babel/core": "^7.26.10",
7
7
  "@babel/preset-env": "^7.26.9",
8
8
  "babel-jest": "^29.7.0",
9
- "buffer": "^6.0.3",
10
9
  "grpc-tools": "^1.13.0",
11
10
  "grpc_tools_node_protoc_ts": "^5.3.3",
12
11
  "isomorphic-ws": "^5.0.0",
@@ -14,12 +13,14 @@
14
13
  "nice-grpc-web": "^3.3.6",
15
14
  "standard": "^17.1.2",
16
15
  "stream-browserify": "^3.0.0",
16
+ "terser-webpack-plugin": "^5.3.14",
17
17
  "ts-node": "^10.9.2",
18
18
  "ts-proto": "^2.6.1",
19
19
  "tsc": "^2.0.4",
20
20
  "typescript": "^5.8.2",
21
21
  "webpack": "^5.98.0",
22
22
  "webpack-cli": "^6.0.1",
23
+ "buffer": "^6.0.3",
23
24
  "ws": "^8.18.1"
24
25
  },
25
26
  "scripts": {
@@ -34,6 +35,7 @@
34
35
  "dependencies": {
35
36
  "@scure/base": "^1.2.4",
36
37
  "cbor": "^10.0.3",
37
- "pshenmic-dpp": "^1.0.3"
38
+ "pshenmic-dpp": "^1.0.3",
39
+ "rfc4648": "^1.5.4"
38
40
  }
39
41
  }
@@ -1,39 +0,0 @@
1
- name: Build
2
-
3
- on:
4
- push:
5
- branches: [ "master" ]
6
- pull_request:
7
- branches: [ "master" ]
8
-
9
- jobs:
10
- build:
11
- runs-on: ubuntu-latest
12
-
13
- strategy:
14
- matrix:
15
- node-version: [18.x, 20.x, 22.x]
16
-
17
- steps:
18
- - uses: actions/checkout@v4
19
-
20
- - name: Use Node.js ${{ matrix.node-version }}
21
- uses: actions/setup-node@v4
22
- with:
23
- node-version: ${{ matrix.node-version }}
24
-
25
- - name: Install dependencies
26
- run: |
27
- yarn
28
-
29
- - name: Generate GRPC client
30
- run: |
31
- yarn build:grpc
32
-
33
- - name: Run tests
34
- run: |
35
- yarn test
36
-
37
- - name: Build with Webpack
38
- run: |
39
- yarn build
@@ -1,21 +0,0 @@
1
- name: Publish package to NPM
2
- on:
3
- release:
4
- types: [published]
5
- jobs:
6
- publish:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v4
10
- # Setup .npmrc file to publish to npm
11
- - uses: actions/setup-node@v4
12
- with:
13
- node-version: '20.x'
14
- registry-url: 'https://registry.npmjs.org'
15
- - run: yarn
16
- - run: yarn build:grpc
17
- - run: yarn test
18
- - run: yarn build
19
- - run: yarn publish
20
- env:
21
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/babel.config.js DELETED
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- presets: [['@babel/preset-env']],
3
- plugins: ['@babel/plugin-transform-modules-commonjs']
4
- }
package/jest.config.js DELETED
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- transformIgnorePatterns: [
3
- 'node_modules/(?!pshenmic-dpp)'
4
- ]
5
- }