@sudoplatform/sudo-common 11.0.1 → 12.0.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.
- package/README.md +3 -7
- package/bin/outdated-with-suppression.sh +0 -0
- package/bin/suppress-audit.sh +0 -0
- package/bin/suppress-outdated.sh +0 -0
- package/bin/yarn-audit-with-suppression.sh +0 -0
- package/package.json +12 -13
- package/CHANGELOG.md +0 -51
package/README.md
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
# Anonyome Sudo Common Web
|
|
2
2
|
|
|
3
|
-
This project provides tools and libraries to help with creating new Web
|
|
3
|
+
This project provides tools and libraries to help with creating new Web SDKs and components for Sudo Platform.
|
|
4
|
+
|
|
5
|
+
Please see the [Sudo Platform Developer Docs](https://sudoplatform.com/docs) for an overview of the Sudo Platform.
|
|
4
6
|
|
|
5
7
|
## Usage
|
|
6
8
|
|
|
7
9
|
#### `yarn build`
|
|
8
|
-
|
|
9
|
-
## Automatic Dependency Updates
|
|
10
|
-
|
|
11
|
-
In this project [Renovate](https://gitlab.tools.anonyome.com/platform/renovate) is used for scheduled dependency updates, where MRs will be created on the First Sunday of the Month.
|
|
12
|
-
|
|
13
|
-
For more information on the Renovate Dependency Update schedule, see [GC Platform Renovate Configuration](https://gitlab.tools.anonyome.com/platform/gc-platform-renovate-config).
|
|
File without changes
|
package/bin/suppress-audit.sh
CHANGED
|
File without changes
|
package/bin/suppress-outdated.sh
CHANGED
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudoplatform/sudo-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"author": "Anonyome Labs, Inc.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/sudoplatform/sudo-common-js.git"
|
|
7
|
+
"url": "git+https://github.com/sudoplatform/sudo-common-js.git"
|
|
8
8
|
},
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"audit-with-suppressions": "
|
|
11
|
+
"audit-with-suppressions": "true",
|
|
12
12
|
"clean": "rimraf ./docs ./cjs ./lib ./types",
|
|
13
13
|
"lint": "yarn lint:eslint && yarn lint:prettier",
|
|
14
14
|
"lint:eslint": "eslint \"{bin,src,test}/**/*.{ts,tsx}\"",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"unit-test": "jest test/unit",
|
|
17
17
|
"test": "jest",
|
|
18
18
|
"build": "yarn clean && yarn build:transpile && yarn build:verify && yarn build:doc",
|
|
19
|
-
"build:verify": "
|
|
19
|
+
"build:verify": "yarn audit-with-suppressions && yarn lint && yarn test --coverage",
|
|
20
20
|
"build:transpile": "concurrently \"yarn build:transpile:declarations\" \"yarn build:transpile:cjs\" \"yarn build:transpile:esm\"",
|
|
21
21
|
"build:transpile:cjs": "tsc --project tsconfig.commonjs.json",
|
|
22
22
|
"build:transpile:esm": "tsc",
|
|
@@ -41,14 +41,13 @@
|
|
|
41
41
|
"types"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@anonyome/platform-common": "^37.1.1",
|
|
45
44
|
"@aws-sdk/client-s3": "^3.848.0",
|
|
46
45
|
"apollo-client": "^2.6.10",
|
|
47
|
-
"asn1js": "^3.0.
|
|
46
|
+
"asn1js": "^3.0.6",
|
|
48
47
|
"browser-bunyan": "^1.8.0",
|
|
49
48
|
"fflate": "^0.8.2",
|
|
50
49
|
"graphql": "^15.10.1",
|
|
51
|
-
"pkijs": "^3.3.
|
|
50
|
+
"pkijs": "^3.3.3",
|
|
52
51
|
"tslib": "^2.8.1"
|
|
53
52
|
},
|
|
54
53
|
"peerDependencies": {
|
|
@@ -56,9 +55,9 @@
|
|
|
56
55
|
},
|
|
57
56
|
"devDependencies": {
|
|
58
57
|
"@types/jest": "^30.0.0",
|
|
59
|
-
"@types/node": "^22.
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^8.46.
|
|
61
|
-
"@typescript-eslint/parser": "^8.46.
|
|
58
|
+
"@types/node": "^22.19.0",
|
|
59
|
+
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
60
|
+
"@typescript-eslint/parser": "^8.46.3",
|
|
62
61
|
"concurrently": "^9.2.1",
|
|
63
62
|
"eslint": "8.57.1",
|
|
64
63
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -75,7 +74,7 @@
|
|
|
75
74
|
"monocle-ts": "^2.3.13",
|
|
76
75
|
"newtype-ts": "^0.3.5",
|
|
77
76
|
"prettier": "^3.6.2",
|
|
78
|
-
"rimraf": "^6.0
|
|
77
|
+
"rimraf": "^6.1.0",
|
|
79
78
|
"ts-jest": "^29.4.5",
|
|
80
79
|
"ts-mockito": "^2.6.1",
|
|
81
80
|
"ts-node": "^10.9.2",
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
"tar": "^7.5.2"
|
|
87
86
|
},
|
|
88
87
|
"engines": {
|
|
89
|
-
"node": ">=22
|
|
88
|
+
"node": ">=22"
|
|
90
89
|
},
|
|
91
90
|
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
|
|
92
|
-
}
|
|
91
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
## 0.2.0
|
|
2
|
-
|
|
3
|
-
- Make ListOperationResult S default to T.
|
|
4
|
-
|
|
5
|
-
## 0.1.0
|
|
6
|
-
|
|
7
|
-
### New
|
|
8
|
-
|
|
9
|
-
- Add support to suppress audits.
|
|
10
|
-
|
|
11
|
-
## 0.0.6
|
|
12
|
-
|
|
13
|
-
### Breaking
|
|
14
|
-
|
|
15
|
-
- Move `io-ts` to a peer dependency. Consumers will now need to add this to their dependencies.
|
|
16
|
-
|
|
17
|
-
## 0.0.5
|
|
18
|
-
|
|
19
|
-
### Breaking
|
|
20
|
-
|
|
21
|
-
- Package Rename to remove -web suffix
|
|
22
|
-
|
|
23
|
-
## 0.0.4
|
|
24
|
-
|
|
25
|
-
### New
|
|
26
|
-
|
|
27
|
-
- Allow `DefaultConfigurationManager.bindConfigSet<T>(codec: t.Mixed, namespace?: string): T` to accept optional namespace parameter. If not supplied it will still try and bind to the given type from the full configuration set
|
|
28
|
-
|
|
29
|
-
### Breaking
|
|
30
|
-
|
|
31
|
-
- `ConfigurationManager.bindConfigSet<T>(codec: t.Mixed, namespace?: string): T` now has it's parameter order swapped so that `namespace` can be optional
|
|
32
|
-
|
|
33
|
-
## 0.0.3
|
|
34
|
-
|
|
35
|
-
### New
|
|
36
|
-
|
|
37
|
-
- DefaultConfigurationManager bindConfigSet convenience method to get config and bind to type
|
|
38
|
-
- Custom Errors for DefaultConfigurationManager
|
|
39
|
-
|
|
40
|
-
## 0.0.2
|
|
41
|
-
|
|
42
|
-
### New
|
|
43
|
-
|
|
44
|
-
- DefaultConfigurationManager with singleton pattern to store config and bind to types
|
|
45
|
-
|
|
46
|
-
## 0.0.1
|
|
47
|
-
|
|
48
|
-
### New
|
|
49
|
-
|
|
50
|
-
- Init project setup
|
|
51
|
-
- Singleton Configuration Manager
|