@sparkvault/sdk-js 11.1.0 → 11.1.2
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 +2 -37
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +72 -72
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/ingots/index.d.ts +1 -1
- package/dist/logger.d.ts +0 -5
- package/dist/products/identity/container.d.ts +0 -8
- package/dist/products/identity/index.d.ts +1 -3
- package/dist/products/identity/methods.d.ts +0 -6
- package/dist/products/identity/utils.d.ts +1 -27
- package/dist/products/identity/views/icons.d.ts +0 -4
- package/dist/products/index.d.ts +1 -3
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/dist/vaults/index.d.ts +1 -1
- package/dist/vaults/upload/container.d.ts +0 -8
- package/dist/vaults/upload/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/products/identity/handlers/index.d.ts +0 -9
- package/dist/products/identity/utils/index.d.ts +0 -5
package/README.md
CHANGED
|
@@ -795,46 +795,11 @@ The SDK supports all modern browsers:
|
|
|
795
795
|
|
|
796
796
|
## Build & Release
|
|
797
797
|
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
```bash
|
|
801
|
-
git clone https://github.com/Spark-Vault/sdk-js.git
|
|
802
|
-
cd sdk-js
|
|
803
|
-
npm install
|
|
804
|
-
```
|
|
805
|
-
|
|
806
|
-
### Scripts
|
|
807
|
-
|
|
808
|
-
```bash
|
|
809
|
-
npm run build # Build all bundles
|
|
810
|
-
npm run build:watch # Build with watch mode
|
|
811
|
-
npm run typecheck # Run TypeScript type checking
|
|
812
|
-
npm run lint # Run ESLint
|
|
813
|
-
npm run test # Run tests
|
|
814
|
-
npm run test:watch # Run tests in watch mode
|
|
815
|
-
```
|
|
816
|
-
|
|
817
|
-
### Project Structure
|
|
818
|
-
|
|
819
|
-
```
|
|
820
|
-
sdk-js/
|
|
821
|
-
├── src/
|
|
822
|
-
│ ├── index.ts # Main entry point
|
|
823
|
-
│ ├── config.ts # Configuration management
|
|
824
|
-
│ ├── http.ts # HTTP client
|
|
825
|
-
│ ├── errors.ts # Error types
|
|
826
|
-
│ └── identity/ # Identity module
|
|
827
|
-
├── dist/ # Built bundles
|
|
828
|
-
├── tests/ # Test files
|
|
829
|
-
├── .github/workflows/ # CI/CD workflows
|
|
830
|
-
├── rollup.config.js # Rollup bundler config
|
|
831
|
-
├── tsconfig.json # TypeScript config
|
|
832
|
-
└── package.json
|
|
833
|
-
```
|
|
798
|
+
The SDK is built, tested and released from the `Spark-Vault/platform` monorepo, in `packages/sdk-js`. Run its scripts from the repository root with `npx pnpm --filter @sparkvault/sdk-js <script>`: `build`, `build:watch`, `typecheck`, `lint`, `test`, `test:watch` and `test:package`. A push to `main` that changes the package's code runs `.github/workflows/deploy-sdk-js.yml`, which publishes the package to npm and the bundles to the CDN. The SDK's architecture is in the monorepo's `docs/SDK.md`, and its release pipeline in `docs/INFRASTRUCTURE.md`.
|
|
834
799
|
|
|
835
800
|
## License
|
|
836
801
|
|
|
837
|
-
MIT License
|
|
802
|
+
MIT License.
|
|
838
803
|
|
|
839
804
|
## Links
|
|
840
805
|
|
package/dist/index.cjs
CHANGED
|
@@ -2097,7 +2097,7 @@ class ExpirationTimer {
|
|
|
2097
2097
|
/**
|
|
2098
2098
|
* Identity Module Utilities
|
|
2099
2099
|
*
|
|
2100
|
-
* The encoding
|
|
2100
|
+
* The encoding and validation helpers the identity renderer, API
|
|
2101
2101
|
* client and module share.
|
|
2102
2102
|
*/
|
|
2103
2103
|
// Re-export timer utilities
|
|
@@ -17294,7 +17294,7 @@ class SparkVault {
|
|
|
17294
17294
|
}
|
|
17295
17295
|
/** Get the SDK version */
|
|
17296
17296
|
static get version() {
|
|
17297
|
-
return '11.1.
|
|
17297
|
+
return '11.1.2';
|
|
17298
17298
|
}
|
|
17299
17299
|
}
|
|
17300
17300
|
if (typeof window !== 'undefined') {
|