@universal-signer/core 0.0.1 → 0.0.2
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 +63 -49
- package/dist/index.js +54 -49
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -54,7 +54,10 @@ yarn add @universal-signer/core viem
|
|
|
54
54
|
## Quick Start
|
|
55
55
|
|
|
56
56
|
```typescript
|
|
57
|
-
import {
|
|
57
|
+
import {
|
|
58
|
+
createUniversalClient,
|
|
59
|
+
createAwsAccount,
|
|
60
|
+
} from "@universal-signer/core";
|
|
58
61
|
import { mainnet } from "viem/chains";
|
|
59
62
|
import { http } from "viem";
|
|
60
63
|
|
|
@@ -112,7 +115,8 @@ import { createAwsAccount, type AwsKmsConfig } from "@universal-signer/core";
|
|
|
112
115
|
|
|
113
116
|
const config: AwsKmsConfig = {
|
|
114
117
|
// Key ID, ARN, or alias
|
|
115
|
-
keyId:
|
|
118
|
+
keyId:
|
|
119
|
+
"arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
|
|
116
120
|
// AWS region (default: "us-east-1")
|
|
117
121
|
region: "us-east-1",
|
|
118
122
|
// Optional: explicit credentials (defaults to AWS SDK credential chain)
|
|
@@ -128,11 +132,11 @@ console.log("Address:", account.address);
|
|
|
128
132
|
|
|
129
133
|
#### Configuration
|
|
130
134
|
|
|
131
|
-
| Property
|
|
132
|
-
|
|
133
|
-
| `keyId`
|
|
134
|
-
| `region`
|
|
135
|
-
| `credentials` | `object` | No
|
|
135
|
+
| Property | Type | Required | Default | Description |
|
|
136
|
+
| ------------- | -------- | -------- | ------------- | ------------------------- |
|
|
137
|
+
| `keyId` | `string` | Yes | — | KMS key ID, ARN, or alias |
|
|
138
|
+
| `region` | `string` | No | `"us-east-1"` | AWS region |
|
|
139
|
+
| `credentials` | `object` | No | SDK default | AWS credentials |
|
|
136
140
|
|
|
137
141
|
---
|
|
138
142
|
|
|
@@ -167,10 +171,10 @@ console.log("Address:", account.address);
|
|
|
167
171
|
|
|
168
172
|
#### Configuration
|
|
169
173
|
|
|
170
|
-
| Property
|
|
171
|
-
|
|
172
|
-
| `name`
|
|
173
|
-
| `clientOptions` | `ClientOptions` | No
|
|
174
|
+
| Property | Type | Required | Description |
|
|
175
|
+
| --------------- | --------------- | -------- | -------------------------------------------- |
|
|
176
|
+
| `name` | `string` | Yes | Full CryptoKeyVersion resource name |
|
|
177
|
+
| `clientOptions` | `ClientOptions` | No | GCP client configuration (from `google-gax`) |
|
|
174
178
|
|
|
175
179
|
---
|
|
176
180
|
|
|
@@ -188,7 +192,11 @@ Uses `@ledgerhq/hw-app-eth` over USB HID for hardware wallet signing.
|
|
|
188
192
|
#### Usage
|
|
189
193
|
|
|
190
194
|
```typescript
|
|
191
|
-
import {
|
|
195
|
+
import {
|
|
196
|
+
createLedgerAccount,
|
|
197
|
+
type LedgerConfig,
|
|
198
|
+
type LedgerAccount,
|
|
199
|
+
} from "@universal-signer/core";
|
|
192
200
|
|
|
193
201
|
const config: LedgerConfig = {
|
|
194
202
|
// BIP-44 derivation path (default: "44'/60'/0'/0/0")
|
|
@@ -207,17 +215,17 @@ await account.close();
|
|
|
207
215
|
|
|
208
216
|
#### Configuration
|
|
209
217
|
|
|
210
|
-
| Property
|
|
211
|
-
|
|
212
|
-
| `derivationPath` | `string`
|
|
213
|
-
| `transport`
|
|
218
|
+
| Property | Type | Required | Default | Description |
|
|
219
|
+
| ---------------- | ----------- | -------- | ------------------ | ----------------------------- |
|
|
220
|
+
| `derivationPath` | `string` | No | `"44'/60'/0'/0/0"` | BIP-44 derivation path |
|
|
221
|
+
| `transport` | `Transport` | No | Auto-created | Custom HID transport instance |
|
|
214
222
|
|
|
215
223
|
#### Extended Account
|
|
216
224
|
|
|
217
225
|
`LedgerAccount` extends `LocalAccount` with:
|
|
218
226
|
|
|
219
|
-
| Method
|
|
220
|
-
|
|
227
|
+
| Method | Description |
|
|
228
|
+
| --------- | --------------------------------------- |
|
|
221
229
|
| `close()` | Closes the USB HID transport connection |
|
|
222
230
|
|
|
223
231
|
---
|
|
@@ -252,12 +260,12 @@ console.log("Address:", account.address);
|
|
|
252
260
|
|
|
253
261
|
#### Configuration
|
|
254
262
|
|
|
255
|
-
| Property
|
|
256
|
-
|
|
257
|
-
| `email`
|
|
258
|
-
| `appUrl`
|
|
259
|
-
| `appName`
|
|
260
|
-
| `derivationPath` | `string` | No
|
|
263
|
+
| Property | Type | Required | Default | Description |
|
|
264
|
+
| ---------------- | -------- | -------- | -------------------- | ----------------------------- |
|
|
265
|
+
| `email` | `string` | Yes | — | Contact email for manifest |
|
|
266
|
+
| `appUrl` | `string` | Yes | — | Application URL for manifest |
|
|
267
|
+
| `appName` | `string` | Yes | — | Application name for manifest |
|
|
268
|
+
| `derivationPath` | `string` | No | `"m/44'/60'/0'/0/0"` | BIP-44 derivation path |
|
|
261
269
|
|
|
262
270
|
---
|
|
263
271
|
|
|
@@ -283,13 +291,13 @@ console.log("Address:", account.address);
|
|
|
283
291
|
|
|
284
292
|
#### Configuration
|
|
285
293
|
|
|
286
|
-
| Property
|
|
287
|
-
|
|
288
|
-
| `baseUrl`
|
|
289
|
-
| `apiPublicKey`
|
|
290
|
-
| `apiPrivateKey`
|
|
291
|
-
| `organizationId` | `string` | Yes
|
|
292
|
-
| `privateKeyId`
|
|
294
|
+
| Property | Type | Required | Description |
|
|
295
|
+
| ---------------- | -------- | -------- | ----------------------------------- |
|
|
296
|
+
| `baseUrl` | `string` | Yes | Turnkey API base URL |
|
|
297
|
+
| `apiPublicKey` | `string` | Yes | Turnkey API public key |
|
|
298
|
+
| `apiPrivateKey` | `string` | Yes | Turnkey API private key |
|
|
299
|
+
| `organizationId` | `string` | Yes | Turnkey organization ID |
|
|
300
|
+
| `privateKeyId` | `string` | Yes | Private key or wallet ID in Turnkey |
|
|
293
301
|
|
|
294
302
|
---
|
|
295
303
|
|
|
@@ -306,7 +314,8 @@ import { createLocalAccount } from "@universal-signer/core";
|
|
|
306
314
|
|
|
307
315
|
// From private key
|
|
308
316
|
const account = createLocalAccount({
|
|
309
|
-
privateKey:
|
|
317
|
+
privateKey:
|
|
318
|
+
"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
|
|
310
319
|
});
|
|
311
320
|
|
|
312
321
|
// Or from mnemonic
|
|
@@ -319,10 +328,10 @@ console.log("Address:", account.address);
|
|
|
319
328
|
|
|
320
329
|
#### Configuration
|
|
321
330
|
|
|
322
|
-
| Property
|
|
323
|
-
|
|
324
|
-
| `privateKey` | `Hex`
|
|
325
|
-
| `mnemonic`
|
|
331
|
+
| Property | Type | Required | Description |
|
|
332
|
+
| ------------ | -------- | -------- | ---------------------------------- |
|
|
333
|
+
| `privateKey` | `Hex` | One of | 32-byte private key with 0x prefix |
|
|
334
|
+
| `mnemonic` | `string` | One of | BIP-39 mnemonic phrase |
|
|
326
335
|
|
|
327
336
|
---
|
|
328
337
|
|
|
@@ -357,9 +366,9 @@ Helper function to create a Viem `WalletClient` from any account.
|
|
|
357
366
|
```typescript
|
|
358
367
|
function createUniversalClient(
|
|
359
368
|
account: Account,
|
|
360
|
-
chain?: Chain,
|
|
361
|
-
transport?: Transport // Default: http()
|
|
362
|
-
): WalletClient
|
|
369
|
+
chain?: Chain, // Default: mainnet
|
|
370
|
+
transport?: Transport, // Default: http()
|
|
371
|
+
): WalletClient;
|
|
363
372
|
```
|
|
364
373
|
|
|
365
374
|
### `normalizeKmsSignature`
|
|
@@ -370,8 +379,8 @@ Low-level utility for converting KMS DER signatures to Ethereum format.
|
|
|
370
379
|
function normalizeKmsSignature(
|
|
371
380
|
derSignature: Uint8Array | Buffer,
|
|
372
381
|
digest: Hash,
|
|
373
|
-
expectedAddress: string
|
|
374
|
-
): Promise<{ r: Hex; s: Hex; v: bigint }
|
|
382
|
+
expectedAddress: string,
|
|
383
|
+
): Promise<{ r: Hex; s: Hex; v: bigint }>;
|
|
375
384
|
```
|
|
376
385
|
|
|
377
386
|
---
|
|
@@ -389,17 +398,18 @@ Cloud KMS providers return ECDSA signatures in ASN.1 DER format. Ethereum requir
|
|
|
389
398
|
### Supported Operations
|
|
390
399
|
|
|
391
400
|
| Provider | `signTransaction` | `signMessage` | `signTypedData` |
|
|
392
|
-
|
|
393
|
-
| AWS KMS
|
|
394
|
-
| GCP KMS
|
|
395
|
-
| Ledger
|
|
396
|
-
| Trezor
|
|
397
|
-
| Turnkey
|
|
398
|
-
| Local
|
|
401
|
+
| -------- | :---------------: | :-----------: | :-------------: |
|
|
402
|
+
| AWS KMS | Yes | Yes | Yes |
|
|
403
|
+
| GCP KMS | Yes | Yes | Yes |
|
|
404
|
+
| Ledger | Yes | Yes | Yes |
|
|
405
|
+
| Trezor | Yes | Yes | Yes |
|
|
406
|
+
| Turnkey | Yes | Yes | Yes |
|
|
407
|
+
| Local | Yes | Yes | Yes |
|
|
399
408
|
|
|
400
409
|
### Transaction Types
|
|
401
410
|
|
|
402
411
|
All providers support:
|
|
412
|
+
|
|
403
413
|
- Legacy transactions
|
|
404
414
|
- EIP-2930 (Type 1)
|
|
405
415
|
- EIP-1559 (Type 2)
|
|
@@ -412,6 +422,7 @@ All providers support:
|
|
|
412
422
|
### "Invalid DER: Unexpected end of data"
|
|
413
423
|
|
|
414
424
|
The KMS returned a malformed signature. This can happen due to:
|
|
425
|
+
|
|
415
426
|
- Network issues truncating the response
|
|
416
427
|
- Incorrect key configuration
|
|
417
428
|
|
|
@@ -420,6 +431,7 @@ The KMS returned a malformed signature. This can happen due to:
|
|
|
420
431
|
### "AWS KMS: Unable to retrieve Public Key"
|
|
421
432
|
|
|
422
433
|
**Causes**:
|
|
434
|
+
|
|
423
435
|
- Incorrect key ID or ARN
|
|
424
436
|
- Missing IAM permissions
|
|
425
437
|
- Key is disabled or pending deletion
|
|
@@ -429,6 +441,7 @@ The KMS returned a malformed signature. This can happen due to:
|
|
|
429
441
|
### "GCP KMS: Public Key not found"
|
|
430
442
|
|
|
431
443
|
**Causes**:
|
|
444
|
+
|
|
432
445
|
- Incorrect resource name format
|
|
433
446
|
- Missing IAM permissions
|
|
434
447
|
- Key version is disabled
|
|
@@ -438,11 +451,13 @@ The KMS returned a malformed signature. This can happen due to:
|
|
|
438
451
|
### Ledger Connection Issues
|
|
439
452
|
|
|
440
453
|
**Causes**:
|
|
454
|
+
|
|
441
455
|
- Another application has the device open (Ledger Live, browser wallet)
|
|
442
456
|
- Ethereum app not open on device
|
|
443
457
|
- USB permissions (Linux)
|
|
444
458
|
|
|
445
459
|
**Solutions**:
|
|
460
|
+
|
|
446
461
|
1. Close Ledger Live and any browser wallets
|
|
447
462
|
2. Open the Ethereum app on your Ledger
|
|
448
463
|
3. On Linux, add udev rules:
|
|
@@ -468,4 +483,3 @@ Trezor requires an explicit `chainId` for transaction signing.
|
|
|
468
483
|
## License
|
|
469
484
|
|
|
470
485
|
MIT
|
|
471
|
-
|
package/dist/index.js
CHANGED
|
@@ -4564,6 +4564,11 @@ var require_event_streams = __commonJS((exports) => {
|
|
|
4564
4564
|
[unionMember]: out
|
|
4565
4565
|
};
|
|
4566
4566
|
}
|
|
4567
|
+
if (body.byteLength === 0) {
|
|
4568
|
+
return {
|
|
4569
|
+
[unionMember]: {}
|
|
4570
|
+
};
|
|
4571
|
+
}
|
|
4567
4572
|
}
|
|
4568
4573
|
return {
|
|
4569
4574
|
[unionMember]: await this.deserializer.read(eventStreamSchema, body)
|
|
@@ -14242,7 +14247,7 @@ var require_package = __commonJS((exports, module) => {
|
|
|
14242
14247
|
module.exports = {
|
|
14243
14248
|
name: "@aws-sdk/client-kms",
|
|
14244
14249
|
description: "AWS SDK for JavaScript Kms Client for Node.js, Browser and React Native",
|
|
14245
|
-
version: "3.
|
|
14250
|
+
version: "3.975.0",
|
|
14246
14251
|
scripts: {
|
|
14247
14252
|
build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
14248
14253
|
"build:cjs": "node ../../scripts/compilation/inline client-kms",
|
|
@@ -14264,38 +14269,38 @@ var require_package = __commonJS((exports, module) => {
|
|
|
14264
14269
|
dependencies: {
|
|
14265
14270
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
14266
14271
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
14267
|
-
"@aws-sdk/core": "3.
|
|
14268
|
-
"@aws-sdk/credential-provider-node": "3.972.
|
|
14269
|
-
"@aws-sdk/middleware-host-header": "3.972.
|
|
14270
|
-
"@aws-sdk/middleware-logger": "3.972.
|
|
14271
|
-
"@aws-sdk/middleware-recursion-detection": "3.972.
|
|
14272
|
-
"@aws-sdk/middleware-user-agent": "3.972.
|
|
14273
|
-
"@aws-sdk/region-config-resolver": "3.972.
|
|
14274
|
-
"@aws-sdk/types": "3.
|
|
14272
|
+
"@aws-sdk/core": "^3.973.1",
|
|
14273
|
+
"@aws-sdk/credential-provider-node": "^3.972.1",
|
|
14274
|
+
"@aws-sdk/middleware-host-header": "^3.972.1",
|
|
14275
|
+
"@aws-sdk/middleware-logger": "^3.972.1",
|
|
14276
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.1",
|
|
14277
|
+
"@aws-sdk/middleware-user-agent": "^3.972.2",
|
|
14278
|
+
"@aws-sdk/region-config-resolver": "^3.972.1",
|
|
14279
|
+
"@aws-sdk/types": "^3.973.0",
|
|
14275
14280
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
14276
|
-
"@aws-sdk/util-user-agent-browser": "3.972.
|
|
14277
|
-
"@aws-sdk/util-user-agent-node": "3.972.
|
|
14281
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.1",
|
|
14282
|
+
"@aws-sdk/util-user-agent-node": "^3.972.1",
|
|
14278
14283
|
"@smithy/config-resolver": "^4.4.6",
|
|
14279
|
-
"@smithy/core": "^3.
|
|
14284
|
+
"@smithy/core": "^3.21.1",
|
|
14280
14285
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
14281
14286
|
"@smithy/hash-node": "^4.2.8",
|
|
14282
14287
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
14283
14288
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
14284
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
14285
|
-
"@smithy/middleware-retry": "^4.4.
|
|
14289
|
+
"@smithy/middleware-endpoint": "^4.4.11",
|
|
14290
|
+
"@smithy/middleware-retry": "^4.4.27",
|
|
14286
14291
|
"@smithy/middleware-serde": "^4.2.9",
|
|
14287
14292
|
"@smithy/middleware-stack": "^4.2.8",
|
|
14288
14293
|
"@smithy/node-config-provider": "^4.3.8",
|
|
14289
14294
|
"@smithy/node-http-handler": "^4.4.8",
|
|
14290
14295
|
"@smithy/protocol-http": "^5.3.8",
|
|
14291
|
-
"@smithy/smithy-client": "^4.10.
|
|
14296
|
+
"@smithy/smithy-client": "^4.10.12",
|
|
14292
14297
|
"@smithy/types": "^4.12.0",
|
|
14293
14298
|
"@smithy/url-parser": "^4.2.8",
|
|
14294
14299
|
"@smithy/util-base64": "^4.3.0",
|
|
14295
14300
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
14296
14301
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
14297
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
14298
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
14302
|
+
"@smithy/util-defaults-mode-browser": "^4.3.26",
|
|
14303
|
+
"@smithy/util-defaults-mode-node": "^4.2.29",
|
|
14299
14304
|
"@smithy/util-endpoints": "^3.2.8",
|
|
14300
14305
|
"@smithy/util-middleware": "^4.2.8",
|
|
14301
14306
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -15265,7 +15270,7 @@ var require_httpAuthSchemeProvider2 = __commonJS((exports) => {
|
|
|
15265
15270
|
var require_package2 = __commonJS((exports, module) => {
|
|
15266
15271
|
module.exports = {
|
|
15267
15272
|
name: "@aws-sdk/nested-clients",
|
|
15268
|
-
version: "3.
|
|
15273
|
+
version: "3.974.0",
|
|
15269
15274
|
description: "Nested clients for AWS SDK packages.",
|
|
15270
15275
|
main: "./dist-cjs/index.js",
|
|
15271
15276
|
module: "./dist-es/index.js",
|
|
@@ -15294,37 +15299,37 @@ var require_package2 = __commonJS((exports, module) => {
|
|
|
15294
15299
|
dependencies: {
|
|
15295
15300
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
15296
15301
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
15297
|
-
"@aws-sdk/core": "3.
|
|
15298
|
-
"@aws-sdk/middleware-host-header": "3.972.
|
|
15299
|
-
"@aws-sdk/middleware-logger": "3.972.
|
|
15300
|
-
"@aws-sdk/middleware-recursion-detection": "3.972.
|
|
15301
|
-
"@aws-sdk/middleware-user-agent": "3.972.
|
|
15302
|
-
"@aws-sdk/region-config-resolver": "3.972.
|
|
15303
|
-
"@aws-sdk/types": "3.
|
|
15302
|
+
"@aws-sdk/core": "^3.973.0",
|
|
15303
|
+
"@aws-sdk/middleware-host-header": "^3.972.1",
|
|
15304
|
+
"@aws-sdk/middleware-logger": "^3.972.1",
|
|
15305
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.1",
|
|
15306
|
+
"@aws-sdk/middleware-user-agent": "^3.972.1",
|
|
15307
|
+
"@aws-sdk/region-config-resolver": "^3.972.1",
|
|
15308
|
+
"@aws-sdk/types": "^3.973.0",
|
|
15304
15309
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
15305
|
-
"@aws-sdk/util-user-agent-browser": "3.972.
|
|
15306
|
-
"@aws-sdk/util-user-agent-node": "3.972.
|
|
15310
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.1",
|
|
15311
|
+
"@aws-sdk/util-user-agent-node": "^3.972.1",
|
|
15307
15312
|
"@smithy/config-resolver": "^4.4.6",
|
|
15308
|
-
"@smithy/core": "^3.
|
|
15313
|
+
"@smithy/core": "^3.21.0",
|
|
15309
15314
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
15310
15315
|
"@smithy/hash-node": "^4.2.8",
|
|
15311
15316
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
15312
15317
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
15313
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
15314
|
-
"@smithy/middleware-retry": "^4.4.
|
|
15318
|
+
"@smithy/middleware-endpoint": "^4.4.10",
|
|
15319
|
+
"@smithy/middleware-retry": "^4.4.26",
|
|
15315
15320
|
"@smithy/middleware-serde": "^4.2.9",
|
|
15316
15321
|
"@smithy/middleware-stack": "^4.2.8",
|
|
15317
15322
|
"@smithy/node-config-provider": "^4.3.8",
|
|
15318
15323
|
"@smithy/node-http-handler": "^4.4.8",
|
|
15319
15324
|
"@smithy/protocol-http": "^5.3.8",
|
|
15320
|
-
"@smithy/smithy-client": "^4.10.
|
|
15325
|
+
"@smithy/smithy-client": "^4.10.11",
|
|
15321
15326
|
"@smithy/types": "^4.12.0",
|
|
15322
15327
|
"@smithy/url-parser": "^4.2.8",
|
|
15323
15328
|
"@smithy/util-base64": "^4.3.0",
|
|
15324
15329
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
15325
15330
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
15326
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
15327
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
15331
|
+
"@smithy/util-defaults-mode-browser": "^4.3.25",
|
|
15332
|
+
"@smithy/util-defaults-mode-node": "^4.2.28",
|
|
15328
15333
|
"@smithy/util-endpoints": "^3.2.8",
|
|
15329
15334
|
"@smithy/util-middleware": "^4.2.8",
|
|
15330
15335
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -18364,7 +18369,7 @@ var require_package3 = __commonJS((exports, module) => {
|
|
|
18364
18369
|
module.exports = {
|
|
18365
18370
|
name: "@aws-sdk/client-sso",
|
|
18366
18371
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
18367
|
-
version: "3.
|
|
18372
|
+
version: "3.974.0",
|
|
18368
18373
|
scripts: {
|
|
18369
18374
|
build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
18370
18375
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -18384,37 +18389,37 @@ var require_package3 = __commonJS((exports, module) => {
|
|
|
18384
18389
|
dependencies: {
|
|
18385
18390
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
18386
18391
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
18387
|
-
"@aws-sdk/core": "3.
|
|
18388
|
-
"@aws-sdk/middleware-host-header": "3.972.
|
|
18389
|
-
"@aws-sdk/middleware-logger": "3.972.
|
|
18390
|
-
"@aws-sdk/middleware-recursion-detection": "3.972.
|
|
18391
|
-
"@aws-sdk/middleware-user-agent": "3.972.
|
|
18392
|
-
"@aws-sdk/region-config-resolver": "3.972.
|
|
18393
|
-
"@aws-sdk/types": "3.
|
|
18392
|
+
"@aws-sdk/core": "^3.973.0",
|
|
18393
|
+
"@aws-sdk/middleware-host-header": "^3.972.1",
|
|
18394
|
+
"@aws-sdk/middleware-logger": "^3.972.1",
|
|
18395
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.1",
|
|
18396
|
+
"@aws-sdk/middleware-user-agent": "^3.972.1",
|
|
18397
|
+
"@aws-sdk/region-config-resolver": "^3.972.1",
|
|
18398
|
+
"@aws-sdk/types": "^3.973.0",
|
|
18394
18399
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
18395
|
-
"@aws-sdk/util-user-agent-browser": "3.972.
|
|
18396
|
-
"@aws-sdk/util-user-agent-node": "3.972.
|
|
18400
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.1",
|
|
18401
|
+
"@aws-sdk/util-user-agent-node": "^3.972.1",
|
|
18397
18402
|
"@smithy/config-resolver": "^4.4.6",
|
|
18398
|
-
"@smithy/core": "^3.
|
|
18403
|
+
"@smithy/core": "^3.21.0",
|
|
18399
18404
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
18400
18405
|
"@smithy/hash-node": "^4.2.8",
|
|
18401
18406
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
18402
18407
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
18403
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
18404
|
-
"@smithy/middleware-retry": "^4.4.
|
|
18408
|
+
"@smithy/middleware-endpoint": "^4.4.10",
|
|
18409
|
+
"@smithy/middleware-retry": "^4.4.26",
|
|
18405
18410
|
"@smithy/middleware-serde": "^4.2.9",
|
|
18406
18411
|
"@smithy/middleware-stack": "^4.2.8",
|
|
18407
18412
|
"@smithy/node-config-provider": "^4.3.8",
|
|
18408
18413
|
"@smithy/node-http-handler": "^4.4.8",
|
|
18409
18414
|
"@smithy/protocol-http": "^5.3.8",
|
|
18410
|
-
"@smithy/smithy-client": "^4.10.
|
|
18415
|
+
"@smithy/smithy-client": "^4.10.11",
|
|
18411
18416
|
"@smithy/types": "^4.12.0",
|
|
18412
18417
|
"@smithy/url-parser": "^4.2.8",
|
|
18413
18418
|
"@smithy/util-base64": "^4.3.0",
|
|
18414
18419
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
18415
18420
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
18416
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
18417
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
18421
|
+
"@smithy/util-defaults-mode-browser": "^4.3.25",
|
|
18422
|
+
"@smithy/util-defaults-mode-node": "^4.2.28",
|
|
18418
18423
|
"@smithy/util-endpoints": "^3.2.8",
|
|
18419
18424
|
"@smithy/util-middleware": "^4.2.8",
|
|
18420
18425
|
"@smithy/util-retry": "^4.2.8",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@universal-signer/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Universal blockchain signer for Hardware (Ledger, Trezor), Cloud KMS (AWS, GCP), Turnkey, and Local environments using Viem v2.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"node": ">=18.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@aws-sdk/client-kms": "^3.
|
|
60
|
+
"@aws-sdk/client-kms": "^3.975.0",
|
|
61
61
|
"@google-cloud/kms": "^5.2.1",
|
|
62
62
|
"@ledgerhq/hw-app-eth": "^7.3.0",
|
|
63
63
|
"@ledgerhq/hw-transport-node-hid": "^6.30.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/bun": "latest",
|
|
72
|
-
"@types/node": "^25.0.
|
|
72
|
+
"@types/node": "^25.0.10",
|
|
73
73
|
"typescript": "^5.9.3"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|