@saberhq/anchor-contrib
Advanced tools
Comparing version 1.13.20 to 1.13.21
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { AccountsCoder, Idl } from "@project-serum/anchor"; | ||
@@ -3,0 +3,0 @@ /** |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateAccountParsersFromCoder = exports.generateAccountParsers = void 0; | ||
const tslib_1 = require("tslib"); | ||
const anchor_1 = require("@project-serum/anchor"); | ||
const lodash_camelcase_1 = __importDefault(require("lodash.camelcase")); | ||
const lodash_camelcase_1 = tslib_1.__importDefault(require("lodash.camelcase")); | ||
/** | ||
@@ -10,0 +8,0 @@ * Creates parsers for accounts. |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./errors.js"), exports); | ||
__exportStar(require("./generateAccountParsers.js"), exports); | ||
__exportStar(require("./types.js"), exports); | ||
__exportStar(require("./utils/index.js"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./errors.js"), exports); | ||
tslib_1.__exportStar(require("./generateAccountParsers.js"), exports); | ||
tslib_1.__exportStar(require("./types.js"), exports); | ||
tslib_1.__exportStar(require("./utils/index.js"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { AccountsCoder } from "@project-serum/anchor"; | ||
@@ -3,0 +3,0 @@ import type { IdlTypeDef } from "@project-serum/anchor/dist/esm/idl.js"; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateAnchorAccounts = void 0; | ||
const tslib_1 = require("tslib"); | ||
const anchor_1 = require("@project-serum/anchor"); | ||
const lodash_camelcase_1 = __importDefault(require("lodash.camelcase")); | ||
const lodash_camelcase_1 = tslib_1.__importDefault(require("lodash.camelcase")); | ||
/** | ||
@@ -10,0 +8,0 @@ * Generates the metadata of accounts. |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { Accounts, Idl } from "@project-serum/anchor"; | ||
@@ -3,0 +3,0 @@ import { BorshCoder, EventParser } from "@project-serum/anchor"; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.buildCoderMap = exports.SuperCoder = void 0; | ||
const tslib_1 = require("tslib"); | ||
const anchor_1 = require("@project-serum/anchor"); | ||
const instruction_js_1 = __importDefault(require("@project-serum/anchor/dist/esm/program/namespace/instruction.js")); | ||
const instruction_js_1 = tslib_1.__importDefault(require("@project-serum/anchor/dist/esm/program/namespace/instruction.js")); | ||
const web3_js_1 = require("@solana/web3.js"); | ||
const lodash_mapvalues_1 = __importDefault(require("lodash.mapvalues")); | ||
const lodash_mapvalues_1 = tslib_1.__importDefault(require("lodash.mapvalues")); | ||
const errors_js_1 = require("../errors.js"); | ||
@@ -12,0 +10,0 @@ const generateAccountParsers_js_1 = require("../generateAccountParsers.js"); |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./coder.js"), exports); | ||
__exportStar(require("./idl.js"), exports); | ||
__exportStar(require("./programs.js"), exports); | ||
__exportStar(require("./provider.js"), exports); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./coder.js"), exports); | ||
tslib_1.__exportStar(require("./idl.js"), exports); | ||
tslib_1.__exportStar(require("./programs.js"), exports); | ||
tslib_1.__exportStar(require("./provider.js"), exports); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.newProgramMap = exports.newProgram = void 0; | ||
const tslib_1 = require("tslib"); | ||
const anchor_1 = require("@project-serum/anchor"); | ||
const lodash_mapvalues_1 = __importDefault(require("lodash.mapvalues")); | ||
const lodash_mapvalues_1 = tslib_1.__importDefault(require("lodash.mapvalues")); | ||
const provider_js_1 = require("./provider.js"); | ||
@@ -10,0 +8,0 @@ /** |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.makeAnchorProvider = exports.makeSaberProvider = exports.makeReadonlySaberProvider = exports.buildAnchorProvider = exports.AnchorProviderClass = void 0; | ||
const anchor = __importStar(require("@project-serum/anchor")); | ||
const tslib_1 = require("tslib"); | ||
const anchor = tslib_1.__importStar(require("@project-serum/anchor")); | ||
const solana_contrib_1 = require("@saberhq/solana-contrib"); | ||
@@ -29,0 +7,0 @@ const anchorModule = anchor; |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { AccountsCoder, Idl } from "@project-serum/anchor"; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { AccountsCoder } from "@project-serum/anchor"; | ||
@@ -3,0 +3,0 @@ import type { IdlTypeDef } from "@project-serum/anchor/dist/esm/idl.js"; |
@@ -1,2 +0,2 @@ | ||
/// <reference types="node" resolution-mode="require"/> | ||
/// <reference types="node" /> | ||
import type { Accounts, Idl } from "@project-serum/anchor"; | ||
@@ -3,0 +3,0 @@ import { BorshCoder, EventParser } from "@project-serum/anchor"; |
{ | ||
"name": "@saberhq/anchor-contrib", | ||
"version": "1.13.20", | ||
"version": "1.13.21", | ||
"description": "TypeScript client for Anchor programs.", | ||
@@ -11,3 +11,2 @@ "homepage": "https://github.com/saber-hq/saber-common/packages/anchor-contrib#readme", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"exports": { | ||
@@ -33,3 +32,3 @@ ".": { | ||
"@project-serum/anchor": "^0.24.2", | ||
"@saberhq/tsconfig": "^1.13.20", | ||
"@saberhq/tsconfig": "^1.13.21", | ||
"@solana/web3.js": "^1.43.2", | ||
@@ -42,3 +41,3 @@ "@types/lodash.camelcase": "^4.3.7", | ||
"dependencies": { | ||
"@saberhq/solana-contrib": "^1.13.20", | ||
"@saberhq/solana-contrib": "^1.13.21", | ||
"eventemitter3": "^4.0.7", | ||
@@ -45,0 +44,0 @@ "lodash.camelcase": "^4.3.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
197469
2342
No