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.
@@ -2,13 +2,15 @@
2
2
  * Key management module.
3
3
  *
4
4
  * @remarks
5
- * Includes {@link InMemoryKeyStore} for ephemeral keys, {@link FileKeyStore}
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/keys/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA"}
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"}
@@ -2,19 +2,17 @@
2
2
  * Key management module.
3
3
  *
4
4
  * @remarks
5
- * Includes {@link InMemoryKeyStore} for ephemeral keys, {@link FileKeyStore}
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 contains native Node.js dependencies and cannot be bundled for browsers
15
- // For Node.js/Bun environments, import directly:
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/keys/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AAEtC,yFAAyF;AACzF,iDAAiD;AACjD,yEAAyE;AACzE,EAAE;AACF,yDAAyD;AACzD,uCAAuC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "near-kit",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "A simple, intuitive TypeScript library for interacting with NEAR Protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",