@xrpl-wallet-kit/browser 0.1.2 → 0.1.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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=buffer-polyfill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buffer-polyfill.d.ts","sourceRoot":"","sources":["../src/buffer-polyfill.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Buffer } from "buffer";
2
+ if (typeof globalThis !== "undefined") {
3
+ const global = globalThis;
4
+ global.__xwk_buffer_ready__ = true;
5
+ if (!global.Buffer) {
6
+ global.Buffer = Buffer;
7
+ }
8
+ }
@@ -0,0 +1,5 @@
1
+ import "./buffer-polyfill";
2
+ export * from "@xrpl-wallet-kit/client";
3
+ export { createWalletKit as create, createWalletClient as createClient } from "@xrpl-wallet-kit/client";
4
+ export type { CreateWalletKitOptions, CreateWalletClientOptions } from "@xrpl-wallet-kit/client";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAE3B,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,kBAAkB,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACxG,YAAY,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ import "./buffer-polyfill.js";
2
+ export * from "@xrpl-wallet-kit/client";
3
+ export { createWalletKit as create, createWalletClient as createClient } from "@xrpl-wallet-kit/client";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xrpl-wallet-kit/browser",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Browser-ready XRPL Wallet Kit bundle for vanilla JavaScript and legacy HTML sites.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,10 +21,10 @@
21
21
  "README.md"
22
22
  ],
23
23
  "scripts": {
24
- "build": "vite build --mode readable && vite build --mode minified && tsc -p tsconfig.json --emitDeclarationOnly"
24
+ "build": "vite build --mode readable && vite build --mode minified && node -e \"require('node:fs').rmSync('tsconfig.tsbuildinfo',{force:true})\" && tsc -p tsconfig.json"
25
25
  },
26
26
  "dependencies": {
27
- "@xrpl-wallet-kit/client": "0.1.2",
27
+ "@xrpl-wallet-kit/client": "0.1.3",
28
28
  "buffer": "^6.0.3"
29
29
  },
30
30
  "devDependencies": {