near-kit 0.5.2 → 0.5.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.
- package/dist/keys/index.d.ts +5 -3
- package/dist/keys/index.d.ts.map +1 -1
- package/dist/keys/index.js +7 -9
- package/dist/keys/index.js.map +1 -1
- package/package.json +1 -1
package/dist/keys/index.d.ts
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* Key management module.
|
|
3
3
|
*
|
|
4
4
|
* @remarks
|
|
5
|
-
* Includes {@link InMemoryKeyStore} for ephemeral keys, {@link
|
|
6
|
-
* for NEAR-CLI compatible disk storage, {@link RotatingKeyStore} for
|
|
5
|
+
* Includes {@link InMemoryKeyStore} for ephemeral keys, {@link RotatingKeyStore} for
|
|
7
6
|
* high-throughput concurrent transactions, and credential schemas for working
|
|
8
7
|
* with existing NEAR tooling.
|
|
8
|
+
*
|
|
9
|
+
* For Node.js/Bun environments, additional keystores are available via subpath imports:
|
|
10
|
+
* - `FileKeyStore` for NEAR-CLI compatible disk storage: `import { FileKeyStore } from "near-kit/keys/file"`
|
|
11
|
+
* - `NativeKeyStore` for OS keyring integration: `import { NativeKeyStore } from "near-kit/keys/native"`
|
|
9
12
|
*/
|
|
10
13
|
export * from "./credential-schemas.js";
|
|
11
|
-
export * from "./file-keystore.js";
|
|
12
14
|
export * from "./in-memory-keystore.js";
|
|
13
15
|
export * from "./rotating-keystore.js";
|
|
14
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/keys/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/keys/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/keys/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA"}
|
package/dist/keys/index.js
CHANGED
|
@@ -2,19 +2,17 @@
|
|
|
2
2
|
* Key management module.
|
|
3
3
|
*
|
|
4
4
|
* @remarks
|
|
5
|
-
* Includes {@link InMemoryKeyStore} for ephemeral keys, {@link
|
|
6
|
-
* for NEAR-CLI compatible disk storage, {@link RotatingKeyStore} for
|
|
5
|
+
* Includes {@link InMemoryKeyStore} for ephemeral keys, {@link RotatingKeyStore} for
|
|
7
6
|
* high-throughput concurrent transactions, and credential schemas for working
|
|
8
7
|
* with existing NEAR tooling.
|
|
8
|
+
*
|
|
9
|
+
* For Node.js/Bun environments, additional keystores are available via subpath imports:
|
|
10
|
+
* - `FileKeyStore` for NEAR-CLI compatible disk storage: `import { FileKeyStore } from "near-kit/keys/file"`
|
|
11
|
+
* - `NativeKeyStore` for OS keyring integration: `import { NativeKeyStore } from "near-kit/keys/native"`
|
|
9
12
|
*/
|
|
10
13
|
export * from "./credential-schemas.js";
|
|
11
|
-
export * from "./file-keystore.js";
|
|
12
14
|
export * from "./in-memory-keystore.js";
|
|
13
15
|
export * from "./rotating-keystore.js";
|
|
14
|
-
// NativeKeyStore
|
|
15
|
-
// For
|
|
16
|
-
// import { NativeKeyStore } from "near-kit/dist/keys/native-keystore.js"
|
|
17
|
-
//
|
|
18
|
-
// For browser environments, use InMemoryKeyStore instead
|
|
19
|
-
// export * from "./native-keystore.js"
|
|
16
|
+
// FileKeyStore and NativeKeyStore contain Node.js dependencies and cannot be bundled for browsers.
|
|
17
|
+
// For browser environments, use InMemoryKeyStore instead.
|
|
20
18
|
//# sourceMappingURL=index.js.map
|
package/dist/keys/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/keys/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/keys/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AAEtC,mGAAmG;AACnG,0DAA0D"}
|