@midnight-ntwrk/midnight-js-types 4.0.0-rc.2 → 4.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 +5 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
The main provider interface required for transaction construction and submission:
|
|
29
29
|
|
|
30
30
|
```typescript
|
|
31
|
-
interface MidnightProviders<
|
|
31
|
+
interface MidnightProviders<PCK, PSI, PS> {
|
|
32
32
|
privateStateProvider: PrivateStateProvider<PSI, PS>; // Private state management
|
|
33
33
|
publicDataProvider: PublicDataProvider; // Blockchain data queries
|
|
34
|
-
zkConfigProvider: ZKConfigProvider<
|
|
34
|
+
zkConfigProvider: ZKConfigProvider<PCK>; // ZK artifact retrieval
|
|
35
35
|
proofProvider: ProofProvider; // ZK proof generation
|
|
36
36
|
walletProvider: WalletProvider; // Transaction balancing
|
|
37
37
|
midnightProvider: MidnightProvider; // Transaction submission
|
|
@@ -212,6 +212,9 @@ import {
|
|
|
212
212
|
InvalidExportFormatError,
|
|
213
213
|
ImportConflictError,
|
|
214
214
|
|
|
215
|
+
// Factory functions
|
|
216
|
+
createProofProvider,
|
|
217
|
+
|
|
215
218
|
// Re-exports
|
|
216
219
|
Transaction
|
|
217
220
|
} from '@midnight-ntwrk/midnight-js-types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midnight-ntwrk/midnight-js-types",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Shared data types and interfaces for MidnightJS modules",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"clean": "rm -rf dist tsconfig.build.tsbuildinfo .rollup.cache",
|
|
24
24
|
"build": "rollup -c rollup.config.mjs",
|
|
25
25
|
"test": "vitest run --passWithNoTests",
|
|
26
|
-
"deploy": "yarn npm publish"
|
|
26
|
+
"deploy": "yarn npm publish --tolerate-republish"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"dist/"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@midnight-ntwrk/compact-js": "2.5.0
|
|
32
|
+
"@midnight-ntwrk/compact-js": "2.5.0",
|
|
33
33
|
"@midnight-ntwrk/platform-js": "2.2.4",
|
|
34
34
|
"rxjs": "^7.5.0"
|
|
35
35
|
}
|