@vercora-protocol/sdk 0.0.9 → 0.0.10

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/idl.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ import type { Idl } from '@coral-xyz/anchor';
2
+ import { PublicKey } from '@solana/web3.js';
3
+ /** Anchor IDL JSON for the Vercora program (same as `target/idl/vercora.json` from `anchor build`). */
4
+ export declare const IDL: Idl;
5
+ /** Program id from the bundled IDL (`idl.address`). */
6
+ export declare const PROGRAM_ID: PublicKey;
7
+ //# sourceMappingURL=idl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"idl.d.ts","sourceRoot":"","sources":["../src/idl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG5C,uGAAuG;AACvG,eAAO,MAAM,GAAG,EAAyB,GAAG,CAAC;AAE7C,uDAAuD;AACvD,eAAO,MAAM,UAAU,WAAiC,CAAC"}
package/dist/idl.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PROGRAM_ID = exports.IDL = void 0;
7
+ const web3_js_1 = require("@solana/web3.js");
8
+ const vercora_json_1 = __importDefault(require("./idl/vercora.json"));
9
+ /** Anchor IDL JSON for the Vercora program (same as `target/idl/vercora.json` from `anchor build`). */
10
+ exports.IDL = vercora_json_1.default;
11
+ /** Program id from the bundled IDL (`idl.address`). */
12
+ exports.PROGRAM_ID = new web3_js_1.PublicKey(vercora_json_1.default.address);
13
+ //# sourceMappingURL=idl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"idl.js","sourceRoot":"","sources":["../src/idl.ts"],"names":[],"mappings":";;;;;;AACA,6CAA4C;AAC5C,sEAAyC;AAEzC,uGAAuG;AAC1F,QAAA,GAAG,GAAG,sBAAyB,CAAC;AAE7C,uDAAuD;AAC1C,QAAA,UAAU,GAAG,IAAI,mBAAS,CAAC,sBAAO,CAAC,OAAO,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { PredictionMarketClient } from './client';
2
+ export { IDL, PROGRAM_ID } from './idl';
2
3
  export * from './pda';
3
4
  export * from './types';
4
5
  export * from './marketUi';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAClD,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACxC,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -14,9 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.PredictionMarketClient = void 0;
17
+ exports.PROGRAM_ID = exports.IDL = exports.PredictionMarketClient = void 0;
18
18
  var client_1 = require("./client");
19
19
  Object.defineProperty(exports, "PredictionMarketClient", { enumerable: true, get: function () { return client_1.PredictionMarketClient; } });
20
+ var idl_1 = require("./idl");
21
+ Object.defineProperty(exports, "IDL", { enumerable: true, get: function () { return idl_1.IDL; } });
22
+ Object.defineProperty(exports, "PROGRAM_ID", { enumerable: true, get: function () { return idl_1.PROGRAM_ID; } });
20
23
  __exportStar(require("./pda"), exports);
21
24
  __exportStar(require("./types"), exports);
22
25
  __exportStar(require("./marketUi"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mCAAkD;AAAzC,gHAAA,sBAAsB,OAAA;AAC/B,wCAAsB;AACtB,0CAAwB;AACxB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mCAAkD;AAAzC,gHAAA,sBAAsB,OAAA;AAC/B,6BAAwC;AAA/B,0FAAA,GAAG,OAAA;AAAE,iGAAA,UAAU,OAAA;AACxB,wCAAsB;AACtB,0CAAwB;AACxB,6CAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercora-protocol/sdk",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "TypeScript SDK for the Vercora protocol on Solana",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",