payid 0.5.2 → 0.5.5
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.
|
@@ -23,16 +23,6 @@ declare class PayIDClient {
|
|
|
23
23
|
signer: ethers.Signer;
|
|
24
24
|
verifyingContract: string;
|
|
25
25
|
ruleAuthority: string;
|
|
26
|
-
/**
|
|
27
|
-
* Override ruleSetHash yang dipakai di proof payload.
|
|
28
|
-
*
|
|
29
|
-
* WAJIB diisi kalau on-chain hash di-register dengan format berbeda
|
|
30
|
-
* dari hashRuleSet(authorityRule) — misalnya dari test page CombineTab
|
|
31
|
-
* yang pakai format keccak256("tokenId:ruleHash").
|
|
32
|
-
*
|
|
33
|
-
* Nilai ini harus sama persis dengan activeHash dari
|
|
34
|
-
* CombinedRuleStorage.getActiveRuleOf(receiver).
|
|
35
|
-
*/
|
|
36
26
|
ruleSetHashOverride?: string;
|
|
37
27
|
ttlSeconds?: number;
|
|
38
28
|
chainId: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { i as sessionPolicy } from './index-BQQnMG2H.js';
|
|
|
7
7
|
export { i as rule } from './index-Dj9IEios.js';
|
|
8
8
|
export { i as issuer } from './index-2JCvey4-.js';
|
|
9
9
|
export { i as context } from './index-BEvnPzzt.js';
|
|
10
|
-
export { i as client } from './index-
|
|
10
|
+
export { i as client } from './index-BPJ_oOfy.js';
|
|
11
11
|
import './types-BmMf7udp.js';
|
|
12
12
|
|
|
13
13
|
interface PayIDClient {
|
package/package.json
CHANGED
|
@@ -1,59 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payid",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
12
|
},
|
|
13
13
|
"./sessionPolicy": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"types": "./dist/sessionPolicy/index.d.ts",
|
|
15
|
+
"import": "./dist/sessionPolicy/index.js"
|
|
16
16
|
},
|
|
17
17
|
"./rule": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
18
|
+
"types": "./dist/rule/index.d.ts",
|
|
19
|
+
"import": "./dist/rule/index.js"
|
|
20
20
|
},
|
|
21
21
|
"./issuer": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"types": "./dist/issuer/index.d.ts",
|
|
23
|
+
"import": "./dist/issuer/index.js"
|
|
24
24
|
},
|
|
25
25
|
"./context": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"types": "./dist/context/index.d.ts",
|
|
27
|
+
"import": "./dist/context/index.js"
|
|
28
28
|
},
|
|
29
29
|
"./client": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"types": "./dist/core/client/index.d.ts",
|
|
31
|
+
"import": "./dist/core/client/index.js"
|
|
32
32
|
},
|
|
33
33
|
"./server": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"types": "./dist/core/server/index.d.ts",
|
|
35
|
+
"import": "./dist/core/server/index.js"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"ethers": "^6.16.0",
|
|
40
|
-
"payid-rule-engine": "^0.3.0",
|
|
41
|
-
"payid-types": "^0.1.9"
|
|
42
|
-
},
|
|
43
38
|
"files": [
|
|
44
39
|
"dist"
|
|
45
40
|
],
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"ethers": "^6.16.0",
|
|
43
|
+
"payid-rule-engine": "^0.3.2",
|
|
44
|
+
"payid-types": "^0.2.1"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"typescript": "^5.9.3"
|
|
48
|
+
},
|
|
46
49
|
"scripts": {
|
|
47
|
-
"build": "tsup
|
|
48
|
-
"build2": "tsup src/index.ts src/sessionPolicy/index.ts src/rule/index.ts src/issuer/index.ts src/context/index.ts src/core/client/index.ts src/core/server/index.ts --format esm --dts --clean"
|
|
50
|
+
"build": "tsup"
|
|
49
51
|
},
|
|
50
52
|
"devDependencies": {
|
|
51
53
|
"@types/bun": "latest",
|
|
52
54
|
"tsup": "^8.5.1"
|
|
53
55
|
},
|
|
54
|
-
"peerDependencies": {
|
|
55
|
-
"typescript": "^5.9.3"
|
|
56
|
-
},
|
|
57
56
|
"description": "pay-policy",
|
|
58
57
|
"repository": {
|
|
59
58
|
"type": "git",
|