@longdotxyz/shared 0.0.64 → 0.0.66
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.
|
@@ -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: "/
|
|
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,
|
|
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
package/readme.md
CHANGED
|
@@ -82,7 +82,7 @@ import { rootContract } from '@longdotxyz/shared';
|
|
|
82
82
|
|
|
83
83
|
// Create typed API client
|
|
84
84
|
const apiClient = initClient(rootContract, {
|
|
85
|
-
baseUrl: 'https://api.long.xyz',
|
|
85
|
+
baseUrl: 'https://api.long.xyz/v1',
|
|
86
86
|
baseHeaders: {
|
|
87
87
|
'Content-Type': 'application/json'
|
|
88
88
|
}
|