@xyo-network/elliptic 5.3.29 → 5.4.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 +0 -178
  2. package/package.json +8 -12
package/README.md CHANGED
@@ -38,184 +38,6 @@ bun add {{name}}
38
38
 
39
39
  See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
40
 
41
- ## Reference
42
-
43
- ### packages
44
-
45
- ### protocol
46
-
47
- ### packages
48
-
49
- ### crypto
50
-
51
- ### packages
52
-
53
- ### elliptic
54
-
55
- ### .temp-typedoc
56
-
57
- ### classes
58
-
59
- ### <a id="Elliptic"></a>Elliptic
60
-
61
- [**@xyo-network/elliptic**](#../README)
62
-
63
- ***
64
-
65
- ## Constructors
66
-
67
- ### Constructor
68
-
69
- ```ts
70
- new Elliptic(): Elliptic;
71
- ```
72
-
73
- ### Returns
74
-
75
- `Elliptic`
76
-
77
- ## Properties
78
-
79
- ### wasmSupport
80
-
81
- ```ts
82
- readonly static wasmSupport: WasmSupport = wasmSupportStatic;
83
- ```
84
-
85
- ***
86
-
87
- ### \_secp256k1
88
-
89
- ```ts
90
- protected static _secp256k1: Secp256k1 | undefined;
91
- ```
92
-
93
- ## Methods
94
-
95
- ### addressFromPublicKey()
96
-
97
- ```ts
98
- static addressFromPublicKey(key): ArrayBufferLike;
99
- ```
100
-
101
- ### Parameters
102
-
103
- #### key
104
-
105
- `ArrayBufferLike`
106
-
107
- ### Returns
108
-
109
- `ArrayBufferLike`
110
-
111
- ***
112
-
113
- ### initialize()
114
-
115
- ```ts
116
- static initialize(): Promise<Secp256k1>;
117
- ```
118
-
119
- ### Returns
120
-
121
- `Promise`\<`Secp256k1`\>
122
-
123
- ***
124
-
125
- ### publicKeyFromPrivateKey()
126
-
127
- ```ts
128
- static publicKeyFromPrivateKey(privateKey, prefix?): Promise<ArrayBufferLike>;
129
- ```
130
-
131
- ### Parameters
132
-
133
- #### privateKey
134
-
135
- `ArrayBufferLike`
136
-
137
- #### prefix?
138
-
139
- `boolean` = `false`
140
-
141
- ### Returns
142
-
143
- `Promise`\<`ArrayBufferLike`\>
144
-
145
- ***
146
-
147
- ### ready()
148
-
149
- ```ts
150
- static ready(): boolean;
151
- ```
152
-
153
- ### Returns
154
-
155
- `boolean`
156
-
157
- ***
158
-
159
- ### secp256k1()
160
-
161
- ```ts
162
- static secp256k1(): Promise<Secp256k1>;
163
- ```
164
-
165
- ### Returns
166
-
167
- `Promise`\<`Secp256k1`\>
168
-
169
- ***
170
-
171
- ### sign()
172
-
173
- ```ts
174
- static sign(hash, key): Promise<ArrayBufferLike>;
175
- ```
176
-
177
- ### Parameters
178
-
179
- #### hash
180
-
181
- `ArrayBufferLike`
182
-
183
- #### key
184
-
185
- `ArrayBufferLike`
186
-
187
- ### Returns
188
-
189
- `Promise`\<`ArrayBufferLike`\>
190
-
191
- ***
192
-
193
- ### verify()
194
-
195
- ```ts
196
- static verify(
197
- msg,
198
- signature,
199
- address): Promise<boolean>;
200
- ```
201
-
202
- ### Parameters
203
-
204
- #### msg
205
-
206
- `ArrayBufferLike`
207
-
208
- #### signature
209
-
210
- `ArrayBufferLike`
211
-
212
- #### address
213
-
214
- `ArrayBufferLike`
215
-
216
- ### Returns
217
-
218
- `Promise`\<`boolean`\>
219
41
 
220
42
 
221
43
  [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/elliptic",
3
- "version": "5.3.29",
3
+ "version": "5.4.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -22,12 +22,10 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
- "import": "./dist/neutral/index.mjs",
26
25
  "default": "./dist/neutral/index.mjs"
27
26
  },
28
27
  "./package.json": "./package.json"
29
28
  },
30
- "types": "dist/neutral/index.d.ts",
31
29
  "files": [
32
30
  "dist",
33
31
  "!**/*.bench.*",
@@ -38,24 +36,22 @@
38
36
  "dependencies": {
39
37
  "@bitauth/libauth": "~3.0.0",
40
38
  "async-mutex": "~0.5.0",
41
- "@xyo-network/data": "~5.3.29"
39
+ "@xyo-network/data": "~5.4.0"
42
40
  },
43
41
  "devDependencies": {
44
42
  "@opentelemetry/api": "^1.9.1",
45
- "@xylabs/sdk-js": "^5.0.95",
46
- "@xylabs/ts-scripts-common": "~7.8.4",
47
- "@xylabs/ts-scripts-pnpm": "~7.8.4",
48
- "@xylabs/tsconfig": "~7.8.4",
49
- "axios": "^1.14.0",
43
+ "@xylabs/sdk-js": "^5.0.97",
44
+ "@xylabs/toolchain": "~7.10.8",
45
+ "@xylabs/tsconfig": "~7.10.8",
50
46
  "ethers": "^6.16.0",
51
47
  "pako": "~2.1.0",
52
48
  "typescript": "~5.9.3",
53
49
  "zod": "^4.3.6",
54
- "@xyo-network/wasm": "~5.3.29"
50
+ "@xyo-network/wasm": "~5.4.0"
55
51
  },
56
52
  "peerDependencies": {
57
- "@xylabs/sdk-js": "^5",
58
- "@xyo-network/wasm": "~5.3.29"
53
+ "@xylabs/sdk-js": "^5.0.97",
54
+ "@xyo-network/wasm": "~5.4"
59
55
  },
60
56
  "publishConfig": {
61
57
  "access": "public"