@cheqd/sdk 1.3.11 → 1.3.13

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,3 +1,13 @@
1
1
  {
2
- "aliveStatusCodes": [0, 200, 206, 999]
2
+ "aliveStatusCodes": [0, 200, 206, 429, 403, 501, 999],
3
+ "replacementPatterns": [
4
+ {
5
+ "pattern": "\" %}",
6
+ "replacement": ""
7
+ },
8
+ {
9
+ "pattern": "" %}",
10
+ "replacement": ""
11
+ }
12
+ ]
3
13
  }
@@ -15,7 +15,7 @@ jobs:
15
15
 
16
16
  - uses: actions/setup-node@v3
17
17
  with:
18
- node-version: 16
18
+ node-version: 18
19
19
  cache: 'npm'
20
20
  cache-dependency-path: '**/package-lock.json'
21
21
 
@@ -0,0 +1,45 @@
1
+ name: "Cleanup - Actions"
2
+ on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ days:
6
+ description: 'Retain days'
7
+ required: true
8
+ type: string
9
+ default: 30
10
+ minimum_runs:
11
+ description: 'Minimum runs to keep for each workflow'
12
+ required: true
13
+ type: string
14
+ default: 0
15
+ delete_workflow_pattern:
16
+ description: 'Name/filename of workflow. Default is all.'
17
+ required: false
18
+ type: string
19
+ delete_workflow_by_state_pattern:
20
+ description: 'Remove workflow by state: active, deleted, disabled_fork, disabled_inactivity, disabled_manually'
21
+ required: true
22
+ default: All
23
+ type: choice
24
+ options:
25
+ - All
26
+ - active
27
+ - deleted
28
+ - disabled_inactivity
29
+ - disabled_manually
30
+
31
+ jobs:
32
+
33
+ delete-runs:
34
+ name: "Delete old workflow runs"
35
+ runs-on: ubuntu-latest
36
+
37
+ steps:
38
+ - uses: Mattraks/delete-workflow-runs@v2
39
+ with:
40
+ token: ${{ github.token }}
41
+ repository: ${{ github.repository }}
42
+ retain_days: ${{ github.event.inputs.days }}
43
+ keep_minimum_runs: ${{ github.event.inputs.minimum_runs }}
44
+ delete_workflow_pattern: ${{ github.event.inputs.delete_workflow_pattern }}
45
+ delete_workflow_by_state_pattern: ${{ github.event.inputs.delete_workflow_by_state_pattern }}
@@ -0,0 +1,24 @@
1
+ name: "Cache Cleanup - Automatic"
2
+ on:
3
+ pull_request:
4
+ types:
5
+ - closed
6
+ defaults:
7
+ run:
8
+ shell: bash
9
+
10
+
11
+ jobs:
12
+
13
+ cache-purge:
14
+ name: "Purge Actions cache"
15
+ runs-on: ubuntu-latest
16
+
17
+ steps:
18
+
19
+ - name: "Delete Branch Cache Action"
20
+ uses: snnaplab/delete-branch-cache-action@v1.0.0
21
+ with:
22
+ # Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop'
23
+ ref: refs/pull/${{ github.event.number }}/merge
24
+ github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,21 @@
1
+ name: "Cache Cleanup - Manual"
2
+ on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ dry-run:
6
+ description: "Dry run only?"
7
+ required: true
8
+ type: boolean
9
+ default: false
10
+
11
+ jobs:
12
+
13
+ delete-caches:
14
+ name: "Delete Actions caches"
15
+ runs-on: ubuntu-latest
16
+
17
+ steps:
18
+ - name: "Wipe Github Actions cache"
19
+ uses: easimon/wipe-cache@v1
20
+ with:
21
+ dry-run: ${{ github.event.inputs.dry-run }}
@@ -46,8 +46,6 @@ jobs:
46
46
  VALIDATE_JSONC: true
47
47
  VALIDATE_JSX: true
48
48
  VALIDATE_MARKDOWN: true
49
- VALIDATE_OPENAPI: true
50
49
  VALIDATE_TSX: true
51
50
  VALIDATE_TYPESCRIPT_ES: true
52
- VALIDATE_XML: true
53
51
  VALIDATE_YAML: true
@@ -18,13 +18,13 @@ jobs:
18
18
 
19
19
  - uses: actions/setup-node@v3
20
20
  with:
21
- node-version: 16
21
+ node-version: 18
22
22
  cache: 'npm'
23
23
  cache-dependency-path: '**/package-lock.json'
24
24
 
25
25
  - name: "Obtain Github App token"
26
26
  id: app-token
27
- uses: getsentry/action-github-app-token@v1.0.6
27
+ uses: getsentry/action-github-app-token@v2.0.0
28
28
  with:
29
29
  app_id: ${{ secrets.BOT_APP_ID }}
30
30
  private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.13](https://github.com/cheqd/sdk/compare/1.3.12...1.3.13) (2022-11-08)
4
+
5
+ ## [1.3.12](https://github.com/cheqd/sdk/compare/1.3.11...1.3.12) (2022-10-31)
6
+
3
7
  ## [1.3.11](https://github.com/cheqd/sdk/compare/1.3.10...1.3.11) (2022-10-31)
4
8
 
5
9
  ## [1.3.10](https://github.com/cheqd/sdk/compare/1.3.9...1.3.10) (2022-10-27)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cheqd/sdk",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "A TypeScript SDK built with CosmJS to interact with cheqd network ledger",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Cheqd Foundation Limited (https://github.com/cheqd)",
@@ -25,25 +25,8 @@
25
25
  "url": "https://github.com/cheqd/sdk/issues"
26
26
  },
27
27
  "homepage": "https://github.com/cheqd/sdk#readme",
28
- "devDependencies": {
29
- "@semantic-release/changelog": "^6.0.1",
30
- "@semantic-release/commit-analyzer": "^9.0.2",
31
- "@semantic-release/git": "^10.0.1",
32
- "@semantic-release/github": "^8.0.6",
33
- "@semantic-release/npm": "^9.0.1",
34
- "@semantic-release/release-notes-generator": "^10.0.3",
35
- "@types/jest": "^28.1.8",
36
- "@types/node": "^18.11.8",
37
- "@types/uuid": "^8.3.4",
38
- "conventional-changelog-conventionalcommits": "^5.0.0",
39
- "jest": "^29.2.2",
40
- "ts-jest": "^29.0.3",
41
- "ts-node": "^10.9.1",
42
- "typescript": "^4.8.4",
43
- "uint8arrays": "^3.1.1"
44
- },
45
28
  "dependencies": {
46
- "@cheqd/ts-proto": "^1.0.14",
29
+ "@cheqd/ts-proto": "^1.0.15",
47
30
  "@cosmjs/amino": "^0.29.3",
48
31
  "@cosmjs/encoding": "^0.29.3",
49
32
  "@cosmjs/math": "^0.29.3",
@@ -57,6 +40,23 @@
57
40
  "multiformats": "^9.9.0",
58
41
  "uuid": "^9.0.0"
59
42
  },
43
+ "devDependencies": {
44
+ "@semantic-release/changelog": "^6.0.1",
45
+ "@semantic-release/commit-analyzer": "^9.0.2",
46
+ "@semantic-release/git": "^10.0.1",
47
+ "@semantic-release/github": "^8.0.6",
48
+ "@semantic-release/npm": "^9.0.1",
49
+ "@semantic-release/release-notes-generator": "^10.0.3",
50
+ "@types/jest": "^29.2.2",
51
+ "@types/node": "^18.11.9",
52
+ "@types/uuid": "^8.3.4",
53
+ "conventional-changelog-conventionalcommits": "^5.0.0",
54
+ "jest": "^29.3.0",
55
+ "ts-jest": "^29.0.3",
56
+ "ts-node": "^10.9.1",
57
+ "typescript": "^4.8.4",
58
+ "uint8arrays": "^3.1.1"
59
+ },
60
60
  "publishConfig": {
61
61
  "registry": "https://registry.npmjs.org/",
62
62
  "access": "public"