@pooflabs/web 0.0.38 → 0.0.39
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-5j5jdNNe.js → index-BaNlnYmn.js} +582 -146
- package/dist/index-BaNlnYmn.js.map +1 -0
- package/dist/{index-C6HaRwOE.js → index-C-_15_Cq.js} +2 -2
- package/dist/{index-C6HaRwOE.js.map → index-C-_15_Cq.js.map} +1 -1
- package/dist/{index-CSe3WqP-.esm.js → index-CK_KC-Oy.esm.js} +582 -147
- package/dist/index-CK_KC-Oy.esm.js.map +1 -0
- package/dist/{index-DIB1IdkM.esm.js → index-CfbGteXj.esm.js} +2 -2
- package/dist/{index-DIB1IdkM.esm.js.map → index-CfbGteXj.esm.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +2 -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 convertRemainingAccounts, H as createSessionWithPrivy, I as createSessionWithSignature, J as genAuthNonce, K as genSolanaMessage, k as get, e as getAuthLoading, j as getAuthProvider, 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, L 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, N as signSessionCreateMessage, x as signTransaction, z as subscribe, A as useAuth } from './index-CK_KC-Oy.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-BaNlnYmn.js');
|
|
4
4
|
require('axios');
|
|
5
5
|
require('@solana/web3.js');
|
|
6
6
|
require('@coral-xyz/anchor');
|
|
@@ -42,6 +42,7 @@ exports.runQueryMany = index.runQueryMany;
|
|
|
42
42
|
exports.set = index.set;
|
|
43
43
|
exports.setFile = index.setFile;
|
|
44
44
|
exports.setMany = index.setMany;
|
|
45
|
+
exports.signAndSubmitTransaction = index.signAndSubmitTransaction;
|
|
45
46
|
exports.signMessage = index.signMessage;
|
|
46
47
|
exports.signSessionCreateMessage = index.signSessionCreateMessage;
|
|
47
48
|
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.39",
|
|
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.21",
|
|
54
54
|
"@privy-io/react-auth": "^3.10.1",
|
|
55
55
|
"@solana-program/memo": "^0.8.0",
|
|
56
56
|
"@solana/kit": "^5.0.0",
|