wallet-connect-button-vue 1.0.3
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 +5 -0
- package/dist/composables/useSearchParams.d.ts +35 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +7246 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +7251 -0
- package/dist/index.js.map +1 -0
- package/dist/nl-wallet-web.d.ts +5 -0
- package/dist/nl-wallet-web.js +7068 -0
- package/dist/types.d.ts +27 -0
- package/package.json +52 -0
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface AttributeData {
|
|
2
|
+
age_over_18?: boolean;
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}
|
|
5
|
+
export interface DisclosedAttributesResponse {
|
|
6
|
+
attributes?: {
|
|
7
|
+
[key: string]: {
|
|
8
|
+
attributes?: {
|
|
9
|
+
[key: string]: AttributeData;
|
|
10
|
+
};
|
|
11
|
+
issuerUri?: string;
|
|
12
|
+
ca?: string;
|
|
13
|
+
validityInfo?: {
|
|
14
|
+
signed?: string;
|
|
15
|
+
validFrom?: string;
|
|
16
|
+
validUntil?: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export interface NLWalletButtonProps {
|
|
22
|
+
label?: string;
|
|
23
|
+
clientId: string;
|
|
24
|
+
onSuccess: (attributes: AttributeData | undefined) => void;
|
|
25
|
+
apiKey?: string;
|
|
26
|
+
walletConnectHost?: string;
|
|
27
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wallet-connect-button-vue",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "A Vue 3 component for NL Wallet integration",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.esm.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "rollup -c",
|
|
14
|
+
"dev": "rollup -c -w",
|
|
15
|
+
"lint": "eslint src --ext .ts,.vue",
|
|
16
|
+
"typecheck": "tsc --noEmit"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"vue",
|
|
20
|
+
"vue3",
|
|
21
|
+
"nl-wallet",
|
|
22
|
+
"component",
|
|
23
|
+
"wallet",
|
|
24
|
+
"button"
|
|
25
|
+
],
|
|
26
|
+
"author": "Michiel Mayer",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"vue": "^3.0.0",
|
|
30
|
+
"axios": ">=1.0.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
|
34
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
35
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
36
|
+
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
37
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
38
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
39
|
+
"vue": "^3.0.0",
|
|
40
|
+
"@vue/compiler-sfc": "^3.0.0",
|
|
41
|
+
"eslint": "^8.0.0",
|
|
42
|
+
"eslint-plugin-vue": "^9.0.0",
|
|
43
|
+
"rollup": "^4.0.0",
|
|
44
|
+
"typescript": "^5.0.0",
|
|
45
|
+
"tslib": "^2.0.0"
|
|
46
|
+
},
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "https://github.com/kvk-innovatie/wallet-connect-button-vue.git"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/kvk-innovatie/wallet-connect-button-vue"
|
|
52
|
+
}
|