@1sat/types 0.0.21 → 0.0.22
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/dist/constants.d.ts +52 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +54 -2
- package/dist/constants.js.map +1 -1
- package/package.json +35 -35
package/dist/constants.d.ts
CHANGED
|
@@ -15,6 +15,14 @@ export declare const LOCK_BASKET = "lock";
|
|
|
15
15
|
export declare const SIGMA_BASKET = "sigma";
|
|
16
16
|
export declare const BSOCIAL_BASKET = "bsocial";
|
|
17
17
|
export declare const BAP_BASKET = "bap";
|
|
18
|
+
/**
|
|
19
|
+
* Holding basket for plain BSV received at the user's P1SAT-derived
|
|
20
|
+
* deposit address. UTXOs land here via `internalizeBeef` and stay until
|
|
21
|
+
* `sweepDeposit` rotates them into a fresh P1SAT-derived funding output
|
|
22
|
+
* in {@link FUNDING_BASKET}. The basket name itself is the queue marker
|
|
23
|
+
* — no separate tag is needed.
|
|
24
|
+
*/
|
|
25
|
+
export declare const DEPOSIT_BASKET = "1sat-deposit";
|
|
18
26
|
/** Default fee rate in satoshis per kilobyte */
|
|
19
27
|
export declare const DEFAULT_SAT_PER_KB = 10;
|
|
20
28
|
/** Dust limit - minimum satoshis for a standard output */
|
|
@@ -39,8 +47,52 @@ export declare const ONESAT_TESTNET_URL = "https://testnet.api.1sat.app";
|
|
|
39
47
|
export declare const ONESAT_MAINNET_CONTENT_URL = "https://api.1sat.app/content";
|
|
40
48
|
/** 1Sat API content URL (testnet) */
|
|
41
49
|
export declare const ONESAT_TESTNET_CONTENT_URL = "https://testnet.api.1sat.app/content";
|
|
50
|
+
/**
|
|
51
|
+
* 1Sat ecosystem signing protocol. All 1Sat asset operations (ordinals,
|
|
52
|
+
* BSV21, locks, OPNS, cosign, MNEE, deposits) sign and derive under this
|
|
53
|
+
* protocol. The `'p '` prefix routes calls to the registered 1Sat permission
|
|
54
|
+
* module per BRC-0098.
|
|
55
|
+
*/
|
|
56
|
+
export declare const P1SAT_PROTOCOL: [0 | 1 | 2, string];
|
|
57
|
+
/**
|
|
58
|
+
* Label added to every createAction that involves 1Sat asset inputs or
|
|
59
|
+
* outputs. The `'p 1sat'` prefix triggers WalletPermissionsManager dispatch
|
|
60
|
+
* to the registered `'1sat'` module so the module can prompt the user and
|
|
61
|
+
* capture the hashOutputs commitment.
|
|
62
|
+
*/
|
|
63
|
+
export declare const P1SAT_LABEL = "p 1sat";
|
|
64
|
+
/**
|
|
65
|
+
* Placeholder marker prefix. SDK actions that need an AIP or Sigma
|
|
66
|
+
* signature embedded in an output script append a single data push
|
|
67
|
+
* containing one of:
|
|
68
|
+
*
|
|
69
|
+
* '1SATPM:AIP' — needs AIP signature, current BAP key
|
|
70
|
+
* '1SATPM:AIP:<keyID>' — needs AIP signature, specific keyID
|
|
71
|
+
* '1SATPM:SIGMA:<targetVout>:<refVin>' — needs Sigma signature, current BAP key
|
|
72
|
+
*
|
|
73
|
+
* The 1Sat permission module recognizes these markers in the output
|
|
74
|
+
* script tail, removes them, and computes the real signature pushes via
|
|
75
|
+
* the underlying wallet (bypassing the permission manager so no re-prompt).
|
|
76
|
+
*
|
|
77
|
+
* The explicit-keyID variant is needed for BAP chain operations:
|
|
78
|
+
* - publishIdentity uses keyID `identity-0` (root, predates current key)
|
|
79
|
+
* - rotateIdentity passes the outgoing keyID explicitly
|
|
80
|
+
* - attest / updateProfile (existing) omit keyID and resolve current
|
|
81
|
+
*/
|
|
82
|
+
export declare const P1SAT_PLACEHOLDER_PREFIX = "1SATPM:";
|
|
83
|
+
export declare const P1SAT_AIP_PLACEHOLDER = "1SATPM:AIP";
|
|
84
|
+
export declare const P1SAT_AIP_PLACEHOLDER_PREFIX = "1SATPM:AIP:";
|
|
85
|
+
export declare const P1SAT_SIGMA_PLACEHOLDER_PREFIX = "1SATPM:SIGMA:";
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated Use {@link P1SAT_PROTOCOL} directly. Aliased to P1SAT_PROTOCOL
|
|
88
|
+
* so existing call sites continue to function under the unified scheme.
|
|
89
|
+
*/
|
|
42
90
|
export declare const ONESAT_PROTOCOL: [0 | 1 | 2, string];
|
|
43
91
|
export declare const MESSAGE_SIGNING_PROTOCOL: [0 | 1 | 2, string];
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated Use {@link P1SAT_PROTOCOL} directly. Aliased to P1SAT_PROTOCOL
|
|
94
|
+
* so existing call sites continue to function under the unified scheme.
|
|
95
|
+
*/
|
|
44
96
|
export declare const BSV21_PROTOCOL: [0 | 1 | 2, string];
|
|
45
97
|
export declare const BAP_PROTOCOL_ID: [0 | 1 | 2, string];
|
|
46
98
|
export declare const BAP_KEY_ID = "identity";
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,oDAAoD;AACpD,eAAO,MAAM,UAAU,uCAAuC,CAAA;AAE9D,iCAAiC;AACjC,eAAO,MAAM,UAAU,QAAQ,CAAA;AAM/B,eAAO,MAAM,cAAc,YAAY,CAAA;AACvC,eAAO,MAAM,eAAe,SAAS,CAAA;AACrC,eAAO,MAAM,YAAY,UAAU,CAAA;AACnC,eAAO,MAAM,iBAAiB,eAAe,CAAA;AAC7C,eAAO,MAAM,2BAA2B,yBAAyB,CAAA;AACjE,eAAO,MAAM,WAAW,SAAS,CAAA;AACjC,eAAO,MAAM,WAAW,SAAS,CAAA;AACjC,eAAO,MAAM,YAAY,UAAU,CAAA;AACnC,eAAO,MAAM,cAAc,YAAY,CAAA;AACvC,eAAO,MAAM,UAAU,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,oDAAoD;AACpD,eAAO,MAAM,UAAU,uCAAuC,CAAA;AAE9D,iCAAiC;AACjC,eAAO,MAAM,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;GAGG;AACH,MAAM,WAAW,iBAAiB;IACjC,wCAAwC;IACxC,OAAO,EAAE,MAAM,CAAA;IACf,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,gBAAgB,EAAE,MAAM,CAAA;IACxB,iEAAiE;IACjE,gBAAgB,EAAE,MAAM,CAAA;IACxB,4CAA4C;IAC5C,iBAAiB,EAAE,MAAM,CAAA;IACzB,8CAA8C;IAC9C,SAAS,EAAE,MAAM,CAAA;CACjB;AAMD,eAAO,MAAM,qBAAqB,SAAU,CAAA;AAC5C,eAAO,MAAM,uBAAuB,QAAgB,CAAA"}
|
package/dist/constants.js
CHANGED
|
@@ -21,6 +21,14 @@ export const LOCK_BASKET = 'lock';
|
|
|
21
21
|
export const SIGMA_BASKET = 'sigma';
|
|
22
22
|
export const BSOCIAL_BASKET = 'bsocial';
|
|
23
23
|
export const BAP_BASKET = 'bap';
|
|
24
|
+
/**
|
|
25
|
+
* Holding basket for plain BSV received at the user's P1SAT-derived
|
|
26
|
+
* deposit address. UTXOs land here via `internalizeBeef` and stay until
|
|
27
|
+
* `sweepDeposit` rotates them into a fresh P1SAT-derived funding output
|
|
28
|
+
* in {@link FUNDING_BASKET}. The basket name itself is the queue marker
|
|
29
|
+
* — no separate tag is needed.
|
|
30
|
+
*/
|
|
31
|
+
export const DEPOSIT_BASKET = '1sat-deposit';
|
|
24
32
|
// ============================================================================
|
|
25
33
|
// Fee Configuration
|
|
26
34
|
// ============================================================================
|
|
@@ -54,12 +62,56 @@ export const ONESAT_TESTNET_CONTENT_URL = 'https://testnet.api.1sat.app/content'
|
|
|
54
62
|
// ============================================================================
|
|
55
63
|
// Protocol IDs
|
|
56
64
|
// ============================================================================
|
|
57
|
-
|
|
65
|
+
/**
|
|
66
|
+
* 1Sat ecosystem signing protocol. All 1Sat asset operations (ordinals,
|
|
67
|
+
* BSV21, locks, OPNS, cosign, MNEE, deposits) sign and derive under this
|
|
68
|
+
* protocol. The `'p '` prefix routes calls to the registered 1Sat permission
|
|
69
|
+
* module per BRC-0098.
|
|
70
|
+
*/
|
|
71
|
+
export const P1SAT_PROTOCOL = [0, 'p 1sat'];
|
|
72
|
+
/**
|
|
73
|
+
* Label added to every createAction that involves 1Sat asset inputs or
|
|
74
|
+
* outputs. The `'p 1sat'` prefix triggers WalletPermissionsManager dispatch
|
|
75
|
+
* to the registered `'1sat'` module so the module can prompt the user and
|
|
76
|
+
* capture the hashOutputs commitment.
|
|
77
|
+
*/
|
|
78
|
+
export const P1SAT_LABEL = 'p 1sat';
|
|
79
|
+
/**
|
|
80
|
+
* Placeholder marker prefix. SDK actions that need an AIP or Sigma
|
|
81
|
+
* signature embedded in an output script append a single data push
|
|
82
|
+
* containing one of:
|
|
83
|
+
*
|
|
84
|
+
* '1SATPM:AIP' — needs AIP signature, current BAP key
|
|
85
|
+
* '1SATPM:AIP:<keyID>' — needs AIP signature, specific keyID
|
|
86
|
+
* '1SATPM:SIGMA:<targetVout>:<refVin>' — needs Sigma signature, current BAP key
|
|
87
|
+
*
|
|
88
|
+
* The 1Sat permission module recognizes these markers in the output
|
|
89
|
+
* script tail, removes them, and computes the real signature pushes via
|
|
90
|
+
* the underlying wallet (bypassing the permission manager so no re-prompt).
|
|
91
|
+
*
|
|
92
|
+
* The explicit-keyID variant is needed for BAP chain operations:
|
|
93
|
+
* - publishIdentity uses keyID `identity-0` (root, predates current key)
|
|
94
|
+
* - rotateIdentity passes the outgoing keyID explicitly
|
|
95
|
+
* - attest / updateProfile (existing) omit keyID and resolve current
|
|
96
|
+
*/
|
|
97
|
+
export const P1SAT_PLACEHOLDER_PREFIX = '1SATPM:';
|
|
98
|
+
export const P1SAT_AIP_PLACEHOLDER = '1SATPM:AIP';
|
|
99
|
+
export const P1SAT_AIP_PLACEHOLDER_PREFIX = '1SATPM:AIP:';
|
|
100
|
+
export const P1SAT_SIGMA_PLACEHOLDER_PREFIX = '1SATPM:SIGMA:';
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Use {@link P1SAT_PROTOCOL} directly. Aliased to P1SAT_PROTOCOL
|
|
103
|
+
* so existing call sites continue to function under the unified scheme.
|
|
104
|
+
*/
|
|
105
|
+
export const ONESAT_PROTOCOL = P1SAT_PROTOCOL;
|
|
58
106
|
export const MESSAGE_SIGNING_PROTOCOL = [
|
|
59
107
|
1,
|
|
60
108
|
'message signing',
|
|
61
109
|
];
|
|
62
|
-
|
|
110
|
+
/**
|
|
111
|
+
* @deprecated Use {@link P1SAT_PROTOCOL} directly. Aliased to P1SAT_PROTOCOL
|
|
112
|
+
* so existing call sites continue to function under the unified scheme.
|
|
113
|
+
*/
|
|
114
|
+
export const BSV21_PROTOCOL = P1SAT_PROTOCOL;
|
|
63
115
|
export const BAP_PROTOCOL_ID = [1, 'sigma'];
|
|
64
116
|
export const BAP_KEY_ID = 'identity';
|
|
65
117
|
export const BAP_BITCOM_ADDRESS = '1BAPSuaPnfGnSBM3GLV9yhxUdYe4vGbdMT';
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,+EAA+E;AAC/E,uBAAuB;AACvB,+EAA+E;AAE/E,oDAAoD;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,oCAAoC,CAAA;AAE9D,iCAAiC;AACjC,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAA;AAE/B,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E,MAAM,CAAC,MAAM,cAAc,GAAG,SAAS,CAAA;AACvC,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAA;AACrC,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAA;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,CAAA;AAC7C,MAAM,CAAC,MAAM,2BAA2B,GAAG,sBAAsB,CAAA;AACjE,MAAM,CAAC,MAAM,WAAW,GAAG,MAA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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
2
|
+
"name": "@1sat/types",
|
|
3
|
+
"version": "0.0.22",
|
|
4
|
+
"description": "Type definitions for 1Sat Ordinals SDK",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"dev": "tsc --watch",
|
|
20
|
+
"clean": "rm -rf dist"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"1sat",
|
|
24
|
+
"bsv",
|
|
25
|
+
"ordinals",
|
|
26
|
+
"types",
|
|
27
|
+
"typescript"
|
|
28
|
+
],
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"@bsv/sdk": "^2.0.13"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@bsv/sdk": "^2.0.13",
|
|
35
|
+
"typescript": "^5.9.3"
|
|
36
|
+
}
|
|
37
37
|
}
|