@o1js/native-darwin-arm64 0.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/index.d.ts ADDED
@@ -0,0 +1,28 @@
1
+ // Header section
2
+ // To edit this section, look for
3
+ // ./src/lib/crypto/kimchi_bindings/js/native/header-d.ts
4
+ // This file gets auto-included in the generated plonk-napi types to supplement
5
+ // external pointer types.
6
+
7
+ type WasmPastaFpPlonkIndex = {};
8
+
9
+ // Header section end
10
+ export declare class ExternalObject<T> {
11
+ readonly '': {
12
+ readonly '': unique symbol
13
+ [K: symbol]: T
14
+ }
15
+ }
16
+ export const ARCH_NAME: string
17
+
18
+ export declare function camlPastaFpPoseidonBlockCipher(state: Uint8Array): Uint8Array
19
+
20
+ export declare function camlPastaFqPoseidonBlockCipher(state: Uint8Array): Uint8Array
21
+
22
+ export const OS_NAME: string
23
+
24
+ export declare function proverIndexFromBytes(bytes: Uint8Array): ExternalObject<WasmPastaFpPlonkIndex>
25
+
26
+ export declare function proverIndexToBytes(index: ExternalObject<WasmPastaFpPlonkIndex>): Uint8Array
27
+
28
+ export declare function proverToJson(proverIndex: ExternalObject<WasmPastaFpPlonkIndex>): string
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./plonk_napi.node')
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@o1js/native-darwin-arm64",
3
+ "version": "0.0.1",
4
+ "author": "O(1) Labs",
5
+ "os": [
6
+ "darwin"
7
+ ],
8
+ "cpu": [
9
+ "arm64"
10
+ ],
11
+ "type": "commonjs",
12
+ "exports": {
13
+ ".": {
14
+ "default": "./index.js",
15
+ "types": "./index.d.ts"
16
+ }
17
+ },
18
+ "files": [
19
+ "plonk_napi.node",
20
+ "index.d.ts",
21
+ "index.js"
22
+ ]
23
+ }
Binary file