@veridia/node-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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.2";
1
+ export declare const SDK_VERSION = "1.0.3";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = '1.0.2';
4
+ exports.SDK_VERSION = '1.0.3';
5
5
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.2";
1
+ export declare const SDK_VERSION = "1.0.3";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = '1.0.2';
4
+ exports.SDK_VERSION = '1.0.3';
5
5
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veridia/node-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -41,5 +41,6 @@
41
41
  "repository": {
42
42
  "type": "git",
43
43
  "url": "https://github.com/veridia-io/veridia-node-sdk.git"
44
- }
44
+ },
45
+ "license": "MIT"
45
46
  }
@@ -1,49 +0,0 @@
1
- name: Build & Publish
2
-
3
- on:
4
- push:
5
- tags:
6
- - 'v*.*.*' # triggers only for version tags (v1.0.0, v1.1.2, etc.)
7
-
8
- jobs:
9
- build-and-publish:
10
- name: Build and publish to npm
11
- runs-on: ubuntu-latest
12
- permissions:
13
- contents: write
14
-
15
- steps:
16
- - name: Checkout repository
17
- uses: actions/checkout@v4
18
-
19
- - name: Use Node.js 22
20
- uses: actions/setup-node@v4
21
- with:
22
- node-version: 22
23
- registry-url: 'https://registry.npmjs.org/'
24
-
25
- - name: Install dependencies
26
- run: npm ci
27
-
28
- - name: Lint
29
- run: npm run lint --if-present
30
-
31
- - name: Run tests
32
- run: npm test --if-present
33
-
34
- - name: Build SDK (CJS + ESM)
35
- run: npm run build
36
-
37
- - name: Verify package contents
38
- run: npm pack --dry-run
39
-
40
- - name: Publish to npm
41
- if: startsWith(github.ref, 'refs/tags/v')
42
- env:
43
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
44
- run: npm publish --access public
45
-
46
- - name: Create GitHub Release
47
- uses: softprops/action-gh-release@v2
48
- with:
49
- generate_release_notes: true