@pooflabs/web 0.0.38 → 0.0.40
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/dist/auth/providers/mock-auth-provider.d.ts +6 -0
- package/dist/auth/providers/offchain-auth-provider.d.ts +8 -0
- package/dist/auth/providers/phantom-wallet-provider.d.ts +28 -1
- package/dist/auth/providers/privy-wallet-provider.d.ts +45 -1
- package/dist/{index-DIB1IdkM.esm.js → index-BSBKiLWi.esm.js} +2 -2
- package/dist/{index-DIB1IdkM.esm.js.map → index-BSBKiLWi.esm.js.map} +1 -1
- package/dist/{index-5j5jdNNe.js → index-CdHX3Tgg.js} +10836 -10009
- package/dist/index-CdHX3Tgg.js.map +1 -0
- package/dist/{index-C6HaRwOE.js → index-UIsHf4b_.js} +2 -2
- package/dist/{index-C6HaRwOE.js.map → index-UIsHf4b_.js.map} +1 -1
- package/dist/{index-CSe3WqP-.esm.js → index-YqkhFncb.esm.js} +10831 -10009
- package/dist/index-YqkhFncb.esm.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/index-5j5jdNNe.js.map +0 -1
- package/dist/index-CSe3WqP-.esm.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { init, getCurrentUser, onAuthStateChanged, onAuthLoadingChanged, getAuthLoading, login, logout, } from "./global";
|
|
2
2
|
export { getConfig } from "@pooflabs/core";
|
|
3
3
|
export { getAuthProvider } from "./auth";
|
|
4
|
-
export { get, set, setMany, setFile, getFiles, runQuery, runQueryMany, runExpression, runExpressionMany, signMessage, signTransaction, } from "@pooflabs/core";
|
|
4
|
+
export { get, set, setMany, setFile, getFiles, runQuery, runQueryMany, runExpression, runExpressionMany, signMessage, signTransaction, signAndSubmitTransaction, } from "@pooflabs/core";
|
|
5
5
|
export { subscribe } from "@pooflabs/core";
|
|
6
6
|
export * from "@pooflabs/core";
|
|
7
7
|
export { useAuth } from "./auth/hooks/useAuth";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DEFAULT_TEST_ADDRESS, M as MockAuthProvider, O as OffchainAuthProvider, P as PhantomWalletProvider,
|
|
1
|
+
export { D as DEFAULT_TEST_ADDRESS, M as MockAuthProvider, O as OffchainAuthProvider, P as PhantomWalletProvider, C as PrivyWalletProvider, S as ServerSessionManager, W as WebSessionManager, F as buildSetDocumentsTransaction, G as clearCache, H as closeAllSubscriptions, I as convertRemainingAccounts, J as createSessionWithPrivy, K as createSessionWithSignature, L as genAuthNonce, N as genSolanaMessage, k as get, e as getAuthLoading, j as getAuthProvider, Q as getCachedData, h as getConfig, g as getCurrentUser, p as getFiles, B as getIdToken, i as init, l as login, f as logout, d as onAuthLoadingChanged, o as onAuthStateChanged, R as reconnectWithNewAuth, T as refreshSession, u as runExpression, v as runExpressionMany, q as runQuery, t as runQueryMany, s as set, n as setFile, m as setMany, y as signAndSubmitTransaction, w as signMessage, U as signSessionCreateMessage, x as signTransaction, z as subscribe, A as useAuth } from './index-YqkhFncb.esm.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import '@coral-xyz/anchor';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CdHX3Tgg.js');
|
|
4
4
|
require('axios');
|
|
5
5
|
require('@solana/web3.js');
|
|
6
6
|
require('@coral-xyz/anchor');
|
|
@@ -17,6 +17,8 @@ exports.PrivyWalletProvider = index.PrivyWalletProvider;
|
|
|
17
17
|
exports.ServerSessionManager = index.ServerSessionManager;
|
|
18
18
|
exports.WebSessionManager = index.WebSessionManager;
|
|
19
19
|
exports.buildSetDocumentsTransaction = index.buildSetDocumentsTransaction;
|
|
20
|
+
exports.clearCache = index.clearCache;
|
|
21
|
+
exports.closeAllSubscriptions = index.closeAllSubscriptions;
|
|
20
22
|
exports.convertRemainingAccounts = index.convertRemainingAccounts;
|
|
21
23
|
exports.createSessionWithPrivy = index.createSessionWithPrivy;
|
|
22
24
|
exports.createSessionWithSignature = index.createSessionWithSignature;
|
|
@@ -25,6 +27,7 @@ exports.genSolanaMessage = index.genSolanaMessage;
|
|
|
25
27
|
exports.get = index.get;
|
|
26
28
|
exports.getAuthLoading = index.getAuthLoading;
|
|
27
29
|
exports.getAuthProvider = index.getAuthProvider;
|
|
30
|
+
exports.getCachedData = index.getCachedData;
|
|
28
31
|
exports.getConfig = index.getConfig;
|
|
29
32
|
exports.getCurrentUser = index.getCurrentUser;
|
|
30
33
|
exports.getFiles = index.getFiles;
|
|
@@ -34,6 +37,7 @@ exports.login = index.login;
|
|
|
34
37
|
exports.logout = index.logout;
|
|
35
38
|
exports.onAuthLoadingChanged = index.onAuthLoadingChanged;
|
|
36
39
|
exports.onAuthStateChanged = index.onAuthStateChanged;
|
|
40
|
+
exports.reconnectWithNewAuth = index.reconnectWithNewAuth;
|
|
37
41
|
exports.refreshSession = index.refreshSession;
|
|
38
42
|
exports.runExpression = index.runExpression;
|
|
39
43
|
exports.runExpressionMany = index.runExpressionMany;
|
|
@@ -42,6 +46,7 @@ exports.runQueryMany = index.runQueryMany;
|
|
|
42
46
|
exports.set = index.set;
|
|
43
47
|
exports.setFile = index.setFile;
|
|
44
48
|
exports.setMany = index.setMany;
|
|
49
|
+
exports.signAndSubmitTransaction = index.signAndSubmitTransaction;
|
|
45
50
|
exports.signMessage = index.signMessage;
|
|
46
51
|
exports.signSessionCreateMessage = index.signSessionCreateMessage;
|
|
47
52
|
exports.signTransaction = index.signTransaction;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pooflabs/web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"description": "JavaScript SDK for Tarobase API",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@coral-xyz/anchor": "^0.31.1",
|
|
52
52
|
"@phantom/react-sdk": "^1.0.0",
|
|
53
|
-
"@pooflabs/core": "0.0.
|
|
53
|
+
"@pooflabs/core": "0.0.22",
|
|
54
54
|
"@privy-io/react-auth": "^3.10.1",
|
|
55
55
|
"@solana-program/memo": "^0.8.0",
|
|
56
56
|
"@solana/kit": "^5.0.0",
|