@use-glyph/sdk-react 2.0.16 → 2.0.17-rc.1

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.
@@ -210,6 +210,95 @@ export declare function createDefaultPublicClient(chainId: number): {
210
210
  sourceId?: number | undefined;
211
211
  testnet?: boolean | undefined;
212
212
  } & import('viem').ChainConfig<import('viem').ChainFormatters | undefined, Record<string, unknown> | undefined>>) => Promise<import('viem').EstimateGasReturnType>;
213
+ fillTransaction: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | import('viem').Address | undefined = undefined>(args: import('viem').FillTransactionParameters<{
214
+ blockExplorers?: {
215
+ [key: string]: {
216
+ name: string;
217
+ url: string;
218
+ apiUrl?: string | undefined;
219
+ };
220
+ default: {
221
+ name: string;
222
+ url: string;
223
+ apiUrl?: string | undefined;
224
+ };
225
+ } | undefined;
226
+ blockTime?: number | undefined;
227
+ contracts?: {
228
+ [x: string]: import('viem').ChainContract | {
229
+ [sourceId: number]: import('viem').ChainContract | undefined;
230
+ } | undefined;
231
+ ensRegistry?: import('viem').ChainContract | undefined;
232
+ ensUniversalResolver?: import('viem').ChainContract | undefined;
233
+ multicall3?: import('viem').ChainContract | undefined;
234
+ erc6492Verifier?: import('viem').ChainContract | undefined;
235
+ } | undefined;
236
+ ensTlds?: readonly string[] | undefined;
237
+ id: number;
238
+ name: string;
239
+ nativeCurrency: {
240
+ name: string;
241
+ symbol: string;
242
+ decimals: number;
243
+ };
244
+ experimental_preconfirmationTime?: number | undefined;
245
+ rpcUrls: {
246
+ [key: string]: {
247
+ http: readonly string[];
248
+ webSocket?: readonly string[] | undefined;
249
+ };
250
+ default: {
251
+ http: readonly string[];
252
+ webSocket?: readonly string[] | undefined;
253
+ };
254
+ };
255
+ sourceId?: number | undefined;
256
+ testnet?: boolean | undefined;
257
+ } & import('viem').ChainConfig<import('viem').ChainFormatters | undefined, Record<string, unknown> | undefined>, import('viem').Account | undefined, chainOverride, accountOverride>) => Promise<import('viem').FillTransactionReturnType<{
258
+ blockExplorers?: {
259
+ [key: string]: {
260
+ name: string;
261
+ url: string;
262
+ apiUrl?: string | undefined;
263
+ };
264
+ default: {
265
+ name: string;
266
+ url: string;
267
+ apiUrl?: string | undefined;
268
+ };
269
+ } | undefined;
270
+ blockTime?: number | undefined;
271
+ contracts?: {
272
+ [x: string]: import('viem').ChainContract | {
273
+ [sourceId: number]: import('viem').ChainContract | undefined;
274
+ } | undefined;
275
+ ensRegistry?: import('viem').ChainContract | undefined;
276
+ ensUniversalResolver?: import('viem').ChainContract | undefined;
277
+ multicall3?: import('viem').ChainContract | undefined;
278
+ erc6492Verifier?: import('viem').ChainContract | undefined;
279
+ } | undefined;
280
+ ensTlds?: readonly string[] | undefined;
281
+ id: number;
282
+ name: string;
283
+ nativeCurrency: {
284
+ name: string;
285
+ symbol: string;
286
+ decimals: number;
287
+ };
288
+ experimental_preconfirmationTime?: number | undefined;
289
+ rpcUrls: {
290
+ [key: string]: {
291
+ http: readonly string[];
292
+ webSocket?: readonly string[] | undefined;
293
+ };
294
+ default: {
295
+ http: readonly string[];
296
+ webSocket?: readonly string[] | undefined;
297
+ };
298
+ };
299
+ sourceId?: number | undefined;
300
+ testnet?: boolean | undefined;
301
+ } & import('viem').ChainConfig<import('viem').ChainFormatters | undefined, Record<string, unknown> | undefined>, chainOverride>>;
213
302
  getBalance: (args: import('viem').GetBalanceParameters) => Promise<import('viem').GetBalanceReturnType>;
214
303
  getBlobBaseFee: () => Promise<import('viem').GetBlobBaseFeeReturnType>;
215
304
  getBlock: <includeTransactions extends boolean = false, blockTag extends import('viem').BlockTag = "latest">(args?: import('viem').GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
@@ -4082,6 +4171,7 @@ export declare function createDefaultPublicClient(chainId: number): {
4082
4171
  }, (request["parameters"] extends readonly import('viem').PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "fees" | "gas" | "nonce" | "blobVersionedHashes" | "chainId" | "type") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly import('viem').PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "fees" | "gas" | "nonce" | "blobVersionedHashes" | "chainId" | "type") ? T_13 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K]; } : never>;
4083
4172
  readContract: <const abi extends import('viem').Abi | readonly unknown[], functionName extends import('viem').ContractFunctionName<abi, "pure" | "view">, const args extends import('viem').ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: import('viem').ReadContractParameters<abi, functionName, args>) => Promise<import('viem').ReadContractReturnType<abi, functionName, args>>;
4084
4173
  sendRawTransaction: (args: import('viem').SendRawTransactionParameters) => Promise<import('viem').SendRawTransactionReturnType>;
4174
+ sendRawTransactionSync: (args: import('viem').SendRawTransactionSyncParameters) => Promise<import('viem').TransactionReceipt>;
4085
4175
  simulate: <const calls extends readonly unknown[]>(args: import('viem').SimulateBlocksParameters<calls>) => Promise<import('viem').SimulateBlocksReturnType<calls>>;
4086
4176
  simulateBlocks: <const calls extends readonly unknown[]>(args: import('viem').SimulateBlocksParameters<calls>) => Promise<import('viem').SimulateBlocksReturnType<calls>>;
4087
4177
  simulateCalls: <const calls extends readonly unknown[]>(args: import('viem').SimulateCallsParameters<calls>) => Promise<import('viem').SimulateCallsReturnType<calls>>;
@@ -4342,7 +4432,7 @@ export declare function createDefaultPublicClient(chainId: number): {
4342
4432
  };
4343
4433
  sourceId?: number | undefined;
4344
4434
  testnet?: boolean | undefined;
4345
- } & import('viem').ChainConfig<import('viem').ChainFormatters | undefined, Record<string, unknown> | undefined>, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import('viem').WalletActions<{
4435
+ } & import('viem').ChainConfig<import('viem').ChainFormatters | undefined, Record<string, unknown> | undefined>, undefined>, "prepareTransactionRequest" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import('viem').WalletActions<{
4346
4436
  blockExplorers?: {
4347
4437
  [key: string]: {
4348
4438
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@use-glyph/sdk-react",
3
- "version": "2.0.16",
3
+ "version": "2.0.17-rc.1",
4
4
  "type": "module",
5
5
  "license": "GLYPH-1.0",
6
6
  "sideEffects": false,
@@ -46,14 +46,14 @@
46
46
  "tailwind-scrollbar": "3.1.0",
47
47
  "tailwindcss": "^3.4.17",
48
48
  "tailwindcss-animate": "^1.0.7",
49
- "typescript": "~5.9.2",
49
+ "typescript": "~5.9.3",
50
50
  "typescript-eslint": "^8.41.0",
51
51
  "vite": "7.1.3",
52
52
  "vite-plugin-dts": "^4.5.4"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@privy-io/cross-app-connect": ">=0.2.1",
56
- "@privy-io/react-auth": ">=2.21.0",
56
+ "@privy-io/react-auth": "^3.9.0",
57
57
  "@privy-io/wagmi": ">=1.0.6",
58
58
  "@rainbow-me/rainbowkit": ">=2.2.8",
59
59
  "@tanstack/react-query": ">=5.76.0",