@dfinity/assets
Version:
JavaScript and TypeScript library to manage assets on the Internet Computer
13 lines • 470 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAssetsCanister = getAssetsCanister;
const agent_1 = require("@dfinity/agent");
const assets_idl_ts_1 = require("./assets_idl.js");
/**
* Create an assets canister actor
* @param config Configuration to make calls to the Replica.
*/
function getAssetsCanister(config) {
return agent_1.Actor.createActor(assets_idl_ts_1.idlFactory, config);
}
//# sourceMappingURL=assets.js.map