@silencelaboratories/walletprovider-sdk 0.0.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.
- package/README.md +1 -0
- package/dist/hex.d.ts +3 -0
- package/dist/hex.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/package.json +29 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# walletprovider-sdk
|
package/dist/hex.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hex.d.ts","sourceRoot":"","sources":["../src/hex.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,MAAO,MAAM,KAAG,UAMrC,CAAC;AAEF,eAAO,MAAM,SAAS,MAAO,UAAU,KAAG,MAAqE,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n=(t)=>{const r=t.match(/[0-9A-Fa-f]{2}/g);if(!r)throw new Error("bad hex string");return Uint8Array.from(r.map((e)=>parseInt(e,16)))},o=(t)=>t.reduce((r,e)=>r+e.toString(16).padStart(2,"0"),"");export{o as encodeHex,n as decodeHex};
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@silencelaboratories/walletprovider-sdk",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Frontend SDK for Wallet Providers",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"format": "prettier --write --cache .",
|
|
12
|
+
"lint": "eslint --cache ./src/**/*.ts",
|
|
13
|
+
"typecheck": "tsc -p . --noEmit",
|
|
14
|
+
"build": "bun run scripts/build.mjs && bun run build:declaration",
|
|
15
|
+
"build:declaration": "tsc -p . --emitDeclarationOnly",
|
|
16
|
+
"test": "bun test",
|
|
17
|
+
"test:watch": "bun test --watch"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@eslint/js": "^9.3.0",
|
|
22
|
+
"@types/bun": "^1.1.2",
|
|
23
|
+
"eslint": "9.x",
|
|
24
|
+
"globals": "^15.3.0",
|
|
25
|
+
"prettier": "^3.2.5",
|
|
26
|
+
"typescript": "^5.4.5",
|
|
27
|
+
"typescript-eslint": "^7.10.0"
|
|
28
|
+
}
|
|
29
|
+
}
|