@longdotxyz/shared 0.0.64 → 0.0.65

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.
@@ -3723,7 +3723,7 @@ export declare const rootContract: {
3723
3723
  }, {
3724
3724
  encoded_payload: string;
3725
3725
  }>;
3726
- path: "/sponsor";
3726
+ path: "/sponsorship";
3727
3727
  responses: {
3728
3728
  200: import("zod").ZodObject<{
3729
3729
  result: import("zod").ZodObject<{
@@ -10,7 +10,7 @@ export declare const sponsorshipContract: {
10
10
  }, {
11
11
  encoded_payload: string;
12
12
  }>;
13
- path: "/sponsor";
13
+ path: "/sponsorship";
14
14
  responses: {
15
15
  200: z.ZodObject<{
16
16
  result: z.ZodObject<{
@@ -10,7 +10,7 @@ exports.sponsorshipContract = contract.router({
10
10
  method: "POST",
11
11
  path: "",
12
12
  body: zod_1.default.object({
13
- encoded_payload: zod_1.default.string().pipe(types_1.hex).describe("The encoded payload from the encode endpoint"),
13
+ encoded_payload: zod_1.default.string().pipe(types_1.hex).describe("The encoded payload from the encode endpoint (in Hex format)"),
14
14
  }),
15
15
  responses: {
16
16
  200: zod_1.default.object({
@@ -28,6 +28,6 @@ exports.sponsorshipContract = contract.router({
28
28
  description: "Broadcast a transaction with gas sponsorship using Privy server wallet",
29
29
  },
30
30
  }, {
31
- pathPrefix: "/sponsor",
31
+ pathPrefix: "/sponsorship",
32
32
  });
33
33
  //# sourceMappingURL=sponsorship.contract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sponsorship.contract.js","sourceRoot":"","sources":["../../src/contracts/sponsorship.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAA+B;AAE/B,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEnB,QAAA,mBAAmB,GAAG,QAAQ,CAAC,MAAM,CAC9C;IACI,kBAAkB,EAAE;QAChB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,aAAC,CAAC,MAAM,CAAC;YACX,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC,CAAC,QAAQ,CAAC,8CAA8C,CAAC;SACjG,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,MAAM,CAAC;oBACb,gBAAgB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC,CAAC,QAAQ,CAAC,qDAAqD,CAAC;iBACzG,CAAC;aACL,CAAC;YACF,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE;aACtB,CAAC;YACF,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE;aACtB,CAAC;SACL;QACD,WAAW,EAAE,wEAAwE;KACxF;CACJ,EACD;IACI,UAAU,EAAE,UAAU;CACzB,CACJ,CAAC"}
1
+ {"version":3,"file":"sponsorship.contract.js","sourceRoot":"","sources":["../../src/contracts/sponsorship.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAA+B;AAE/B,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEnB,QAAA,mBAAmB,GAAG,QAAQ,CAAC,MAAM,CAC9C;IACI,kBAAkB,EAAE;QAChB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,aAAC,CAAC,MAAM,CAAC;YACX,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC,CAAC,QAAQ,CAAC,8DAA8D,CAAC;SACjH,CAAC;QACF,SAAS,EAAE;YACP,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,MAAM,EAAE,aAAC,CAAC,MAAM,CAAC;oBACb,gBAAgB,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,WAAG,CAAC,CAAC,QAAQ,CAAC,qDAAqD,CAAC;iBACzG,CAAC;aACL,CAAC;YACF,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE;aACtB,CAAC;YACF,GAAG,EAAE,aAAC,CAAC,MAAM,CAAC;gBACV,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE;aACtB,CAAC;SACL;QACD,WAAW,EAAE,wEAAwE;KACxF;CACJ,EACD;IACI,UAAU,EAAE,cAAc;CAC7B,CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longdotxyz/shared",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "description": "Shared types and utilities for Long.xyz API",
5
5
  "files": [
6
6
  "dist"