@midnight-ntwrk/wallet-sdk-runtime 1.0.0-beta.8 → 1.0.0

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.
Files changed (2) hide show
  1. package/README.md +37 -0
  2. package/package.json +8 -7
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # @midnight-ntwrk/wallet-sdk-runtime
2
+
3
+ Runtime infrastructure for Midnight wallet variants.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @midnight-ntwrk/wallet-sdk-runtime
9
+ ```
10
+
11
+ ## Overview
12
+
13
+ This package provides the shared runtime functionality used across different wallet implementations in the Midnight
14
+ Wallet SDK. It includes:
15
+
16
+ - Wallet builder patterns for constructing wallet instances
17
+ - Runtime abstractions for wallet lifecycle management
18
+ - Common runtime utilities shared by wallet variants
19
+
20
+ ## Exports
21
+
22
+ ### Default Export
23
+
24
+ - `WalletBuilder` - Builder pattern for constructing wallet instances
25
+ - `Runtime` - Runtime utilities namespace
26
+
27
+ ### Abstractions Submodule (`/abstractions`)
28
+
29
+ Runtime abstractions for extending wallet functionality:
30
+
31
+ ```typescript
32
+ import { ... } from '@midnight-ntwrk/wallet-sdk-runtime/abstractions';
33
+ ```
34
+
35
+ ## License
36
+
37
+ Apache-2.0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midnight-ntwrk/wallet-sdk-runtime",
3
3
  "description": "Runtime for the wallet variants",
4
- "version": "1.0.0-beta.8",
4
+ "version": "1.0.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -29,17 +29,17 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@midnight-ntwrk/wallet-sdk-abstractions": "1.0.0-beta.9",
33
- "@midnight-ntwrk/wallet-sdk-utilities": "1.0.0-beta.7",
34
- "effect": "^3.17.3",
32
+ "@midnight-ntwrk/wallet-sdk-abstractions": "1.0.0",
33
+ "@midnight-ntwrk/wallet-sdk-utilities": "1.0.0",
34
+ "effect": "^3.19.14",
35
35
  "rxjs": "^7.5"
36
36
  },
37
37
  "scripts": {
38
38
  "typecheck": "tsc -b ./tsconfig.json --noEmit",
39
39
  "test": "vitest run",
40
40
  "lint": "eslint --max-warnings 0",
41
- "format": "prettier --write \"**/*.{ts,js,json,yaml,yml}\"",
42
- "format:check": "prettier --check \"**/*.{ts,js,json,yaml,yml}\"",
41
+ "format": "prettier --write \"**/*.{ts,js,json,yaml,yml,md}\"",
42
+ "format:check": "prettier --check \"**/*.{ts,js,json,yaml,yml,md}\"",
43
43
  "dist": "tsc -b ./tsconfig.build.json",
44
44
  "dist:publish": "tsc -b ./tsconfig.publish.json",
45
45
  "clean": "rimraf --glob dist 'tsconfig.*.tsbuildinfo' && date +%s > .clean-timestamp",
@@ -48,9 +48,10 @@
48
48
  "devDependencies": {
49
49
  "eslint": "^9.32.0",
50
50
  "fast-check": "^4.2.0",
51
+ "prettier": "^3.7.0",
51
52
  "publint": "~0.3.14",
52
53
  "rimraf": "^6.0.1",
53
54
  "typescript": "^5.9.3",
54
- "vitest": "^3.2.4"
55
+ "vitest": "^4.0.16"
55
56
  }
56
57
  }