@thirdweb-dev/service-utils 0.3.0-nightly-c9bf4f05-20230802202157 → 0.3.0-nightly-fd981655-20230802232108
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.
@@ -18,7 +18,7 @@ declare const usageEventSchema: z.ZodObject<{
|
|
18
18
|
fileCid: z.ZodOptional<z.ZodString>;
|
19
19
|
transactionHash: z.ZodOptional<z.ZodString>;
|
20
20
|
gasLimit: z.ZodOptional<z.ZodNumber>;
|
21
|
-
gasPricePerUnit: z.ZodOptional<z.
|
21
|
+
gasPricePerUnit: z.ZodOptional<z.ZodString>;
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
23
23
|
source: "storage" | "rpc" | "bundler" | "relayer" | "wallet" | "paymaster";
|
24
24
|
action: string;
|
@@ -34,7 +34,7 @@ declare const usageEventSchema: z.ZodObject<{
|
|
34
34
|
fileCid?: string | undefined;
|
35
35
|
transactionHash?: string | undefined;
|
36
36
|
gasLimit?: number | undefined;
|
37
|
-
gasPricePerUnit?:
|
37
|
+
gasPricePerUnit?: string | undefined;
|
38
38
|
}, {
|
39
39
|
source: "storage" | "rpc" | "bundler" | "relayer" | "wallet" | "paymaster";
|
40
40
|
action: string;
|
@@ -50,7 +50,7 @@ declare const usageEventSchema: z.ZodObject<{
|
|
50
50
|
fileCid?: string | undefined;
|
51
51
|
transactionHash?: string | undefined;
|
52
52
|
gasLimit?: number | undefined;
|
53
|
-
gasPricePerUnit?:
|
53
|
+
gasPricePerUnit?: string | undefined;
|
54
54
|
}>;
|
55
55
|
export type UsageEvent = z.infer<typeof usageEventSchema>;
|
56
56
|
/**
|
@@ -41,7 +41,7 @@ const usageEventSchema = zod.z.object({
|
|
41
41
|
fileCid: zod.z.string().optional(),
|
42
42
|
transactionHash: zod.z.string().optional(),
|
43
43
|
gasLimit: zod.z.number().nonnegative().optional(),
|
44
|
-
gasPricePerUnit: zod.z.
|
44
|
+
gasPricePerUnit: zod.z.string().optional()
|
45
45
|
});
|
46
46
|
/**
|
47
47
|
* Publish usage events. Provide the relevant fields for your application.
|
@@ -41,7 +41,7 @@ const usageEventSchema = zod.z.object({
|
|
41
41
|
fileCid: zod.z.string().optional(),
|
42
42
|
transactionHash: zod.z.string().optional(),
|
43
43
|
gasLimit: zod.z.number().nonnegative().optional(),
|
44
|
-
gasPricePerUnit: zod.z.
|
44
|
+
gasPricePerUnit: zod.z.string().optional()
|
45
45
|
});
|
46
46
|
/**
|
47
47
|
* Publish usage events. Provide the relevant fields for your application.
|
@@ -37,7 +37,7 @@ const usageEventSchema = z.object({
|
|
37
37
|
fileCid: z.string().optional(),
|
38
38
|
transactionHash: z.string().optional(),
|
39
39
|
gasLimit: z.number().nonnegative().optional(),
|
40
|
-
gasPricePerUnit: z.
|
40
|
+
gasPricePerUnit: z.string().optional()
|
41
41
|
});
|
42
42
|
/**
|
43
43
|
* Publish usage events. Provide the relevant fields for your application.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@thirdweb-dev/service-utils",
|
3
|
-
"version": "0.3.0-nightly-
|
3
|
+
"version": "0.3.0-nightly-fd981655-20230802232108",
|
4
4
|
"main": "dist/thirdweb-dev-service-utils.cjs.js",
|
5
5
|
"module": "dist/thirdweb-dev-service-utils.esm.js",
|
6
6
|
"exports": {
|