@pooflabs/web 0.0.39 → 0.0.41

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/index.esm.js CHANGED
@@ -1,4 +1,4 @@
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';
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-DsQ3lRxj.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-BaNlnYmn.js');
3
+ var index = require('./index-DhhR0WRy.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;
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.39",
3
+ "version": "0.0.41",
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.21",
53
+ "@pooflabs/core": "0.0.23",
54
54
  "@privy-io/react-auth": "^3.10.1",
55
55
  "@solana-program/memo": "^0.8.0",
56
56
  "@solana/kit": "^5.0.0",