@campnetwork/origin 1.0.0-alpha.5 → 1.0.0-alpha.6

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/core.cjs CHANGED
@@ -73,7 +73,7 @@ let y=null,c=null;const h=()=>(c||(c=t.createPublicClient({chain:l,transport:t.h
73
73
  * Calls the getOrCreateRoyaltyVault method on the IPNFT contract.
74
74
  * @param tokenOwner The address of the token owner for whom to get or create the royalty vault.
75
75
  * @returns The address of the royalty vault associated with the specified token owner.
76
- */function S(e){return a(this,void 0,void 0,(function*(){const t=yield this.callContractMethod(this.environment.DATANFT_CONTRACT_ADDRESS,this.environment.IPNFT_ABI,"getOrCreateRoyaltyVault",[e],{waitForReceipt:!0,simulate:!0});return console.log("Royalty Vault Tx:",t),t.simulatedResult}))}
76
+ */function S(e){return a(this,void 0,void 0,(function*(){const t=yield this.callContractMethod(this.environment.DATANFT_CONTRACT_ADDRESS,this.environment.IPNFT_ABI,"getOrCreateRoyaltyVault",[e],{waitForReceipt:!0,simulate:!1});return console.log("Royalty Vault Tx:",t),t.simulatedResult}))}
77
77
  /**
78
78
  * Returns the license terms associated with a specific token ID.
79
79
  * @param tokenId The token ID to query.
package/dist/core.esm.js CHANGED
@@ -236,7 +236,7 @@ let g=null,E=null;const _=()=>(E||(E=i({chain:b,transport:a()})),E);var C=[{inpu
236
236
  * Calls the getOrCreateRoyaltyVault method on the IPNFT contract.
237
237
  * @param tokenOwner The address of the token owner for whom to get or create the royalty vault.
238
238
  * @returns The address of the royalty vault associated with the specified token owner.
239
- */function $(e){return c(this,void 0,void 0,(function*(){const t=yield this.callContractMethod(this.environment.DATANFT_CONTRACT_ADDRESS,this.environment.IPNFT_ABI,"getOrCreateRoyaltyVault",[e],{waitForReceipt:!0,simulate:!0});return console.log("Royalty Vault Tx:",t),t.simulatedResult}))}
239
+ */function $(e){return c(this,void 0,void 0,(function*(){const t=yield this.callContractMethod(this.environment.DATANFT_CONTRACT_ADDRESS,this.environment.IPNFT_ABI,"getOrCreateRoyaltyVault",[e],{waitForReceipt:!0,simulate:!1});return console.log("Royalty Vault Tx:",t),t.simulatedResult}))}
240
240
  /**
241
241
  * Returns the license terms associated with a specific token ID.
242
242
  * @param tokenId The token ID to query.
@@ -2730,7 +2730,7 @@ function finalizeDelete(tokenId) {
2730
2730
  */
2731
2731
  function getOrCreateRoyaltyVault(tokenOwner) {
2732
2732
  return __awaiter(this, void 0, void 0, function* () {
2733
- const royaltyVaultTx = yield this.callContractMethod(this.environment.DATANFT_CONTRACT_ADDRESS, this.environment.IPNFT_ABI, "getOrCreateRoyaltyVault", [tokenOwner], { waitForReceipt: true, simulate: true });
2733
+ const royaltyVaultTx = yield this.callContractMethod(this.environment.DATANFT_CONTRACT_ADDRESS, this.environment.IPNFT_ABI, "getOrCreateRoyaltyVault", [tokenOwner], { waitForReceipt: true, simulate: false });
2734
2734
  console.log("Royalty Vault Tx:", royaltyVaultTx);
2735
2735
  return royaltyVaultTx.simulatedResult;
2736
2736
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campnetwork/origin",
3
- "version": "1.0.0-alpha.5",
3
+ "version": "1.0.0-alpha.6",
4
4
  "main": "dist/core.cjs",
5
5
  "exports": {
6
6
  ".": {