@b3dotfun/sdk 0.0.1-alpha.7 → 0.0.1-alpha.8

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.
@@ -1,3 +1,5 @@
1
- export * from "./components";
2
- export * from "./hooks";
3
- export * from "./stores";
1
+ export { B3Provider } from "./components/B3Provider.native";
2
+ export { useB3 } from "./components/B3Provider.native";
3
+ export { useAuthentication } from "./hooks/useAuthentication";
4
+ export { useSiwe } from "./hooks/useSiwe";
5
+ export { useAccountWallet } from "./hooks/useAccountWallet";
@@ -1,19 +1,17 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
2
+ // export * from "./components";
3
+ // export * from "./hooks";
4
+ // export * from "./stores";
16
5
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./components"), exports);
18
- __exportStar(require("./hooks"), exports);
19
- __exportStar(require("./stores"), exports);
6
+ exports.useAccountWallet = exports.useSiwe = exports.useAuthentication = exports.useB3 = exports.B3Provider = void 0;
7
+ // We only export the components and hooks that are needed for the native app
8
+ var B3Provider_native_1 = require("./components/B3Provider.native");
9
+ Object.defineProperty(exports, "B3Provider", { enumerable: true, get: function () { return B3Provider_native_1.B3Provider; } });
10
+ var B3Provider_native_2 = require("./components/B3Provider.native");
11
+ Object.defineProperty(exports, "useB3", { enumerable: true, get: function () { return B3Provider_native_2.useB3; } });
12
+ var useAuthentication_1 = require("./hooks/useAuthentication");
13
+ Object.defineProperty(exports, "useAuthentication", { enumerable: true, get: function () { return useAuthentication_1.useAuthentication; } });
14
+ var useSiwe_1 = require("./hooks/useSiwe");
15
+ Object.defineProperty(exports, "useSiwe", { enumerable: true, get: function () { return useSiwe_1.useSiwe; } });
16
+ var useAccountWallet_1 = require("./hooks/useAccountWallet");
17
+ Object.defineProperty(exports, "useAccountWallet", { enumerable: true, get: function () { return useAccountWallet_1.useAccountWallet; } });
@@ -1,3 +1,5 @@
1
- export * from "./components";
2
- export * from "./hooks";
3
- export * from "./stores";
1
+ export { B3Provider } from "./components/B3Provider.native";
2
+ export { useB3 } from "./components/B3Provider.native";
3
+ export { useAuthentication } from "./hooks/useAuthentication";
4
+ export { useSiwe } from "./hooks/useSiwe";
5
+ export { useAccountWallet } from "./hooks/useAccountWallet";
@@ -1,3 +1,9 @@
1
- export * from "./components";
2
- export * from "./hooks";
3
- export * from "./stores";
1
+ // export * from "./components";
2
+ // export * from "./hooks";
3
+ // export * from "./stores";
4
+ // We only export the components and hooks that are needed for the native app
5
+ export { B3Provider } from "./components/B3Provider.native";
6
+ export { useB3 } from "./components/B3Provider.native";
7
+ export { useAuthentication } from "./hooks/useAuthentication";
8
+ export { useSiwe } from "./hooks/useSiwe";
9
+ export { useAccountWallet } from "./hooks/useAccountWallet";
@@ -1,3 +1,5 @@
1
- export * from "./components";
2
- export * from "./hooks";
3
- export * from "./stores";
1
+ export { B3Provider } from "./components/B3Provider.native";
2
+ export { useB3 } from "./components/B3Provider.native";
3
+ export { useAuthentication } from "./hooks/useAuthentication";
4
+ export { useSiwe } from "./hooks/useSiwe";
5
+ export { useAccountWallet } from "./hooks/useAccountWallet";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.1-alpha.7",
3
+ "version": "0.0.1-alpha.8",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -222,7 +222,6 @@
222
222
  "@feathersjs/feathers": "5.0.33",
223
223
  "@feathersjs/socketio-client": "5.0.33",
224
224
  "@feathersjs/typebox": "5.0.33",
225
- "@privy-io/react-auth": "2.8.0",
226
225
  "@types/big.js": "^6.2.2",
227
226
  "@types/invariant": "2.2.37",
228
227
  "@types/js-cookie": "3.0.6",
@@ -255,6 +254,7 @@
255
254
  }
256
255
  },
257
256
  "peerDependencies": {
257
+ "@privy-io/react-auth": "^2.8.0",
258
258
  "@react-three/postprocessing": "2.16.6",
259
259
  "@readyplayerme/visage": "6.10.0",
260
260
  "@tanstack/react-query": "5.55.0",
@@ -1,3 +1,12 @@
1
- export * from "./components";
2
- export * from "./hooks";
3
- export * from "./stores";
1
+ // export * from "./components";
2
+ // export * from "./hooks";
3
+ // export * from "./stores";
4
+
5
+ // We only export the components and hooks that are needed for the native app
6
+
7
+ export { B3Provider } from "./components/B3Provider.native";
8
+
9
+ export { useB3 } from "./components/B3Provider.native";
10
+ export { useAuthentication } from "./hooks/useAuthentication";
11
+ export { useSiwe } from "./hooks/useSiwe";
12
+ export { useAccountWallet } from "./hooks/useAccountWallet";