From b90f06d98ea151f9457b4f24b436face6dc24091 Mon Sep 17 00:00:00 2001 From: Omar Date: Mon, 17 Jul 2023 16:23:31 +0300 Subject: [PATCH] minor fix --- package.json | 2 +- src/builders/manifest_builder.ts | 25 ------------------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/package.json b/package.json index e2fc294..715ab93 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@radixdlt/radix-engine-toolkit", - "version": "0.2.0", + "version": "0.2.1", "description": "A TypeScript wrapper for the Radix Engine Toolkit that provides many of the necessary tools to interact with the Radix ledger", "types": "./dist/index.d.ts", "main": "./dist/radix-engine-toolkit.umd.js", diff --git a/src/builders/manifest_builder.ts b/src/builders/manifest_builder.ts index 7d3931b..3c3dd6e 100644 --- a/src/builders/manifest_builder.ts +++ b/src/builders/manifest_builder.ts @@ -44,7 +44,6 @@ import { CreateIdentityAdvanced, CreateNonFungibleResource, CreateNonFungibleResourceWithInitialSupply, - CreateProofFromAuthZone, CreateProofFromAuthZoneOfAll, CreateProofFromAuthZoneOfAmount, CreateProofFromAuthZoneOfNonFungibles, @@ -305,30 +304,6 @@ export class ManifestBuilder { return this; } - /** - * An instruction to create a proof of one of a given resource address from the auth - * zone. - * @param resourceAddress The address of the resource to create a proof of. - * @param andThen A callback function with the manifest builder and bucket. - * @returns A `ManifestBuilder` which the caller can continue chaining calls to. - */ - createProofFromAuthZone( - resourceAddress: ManifestAstValue.Address | string, - andThen: ( - builder: ManifestBuilder, - bucket: ManifestAstValue.Proof - ) => ManifestBuilder - ): ManifestBuilder { - const proof = this.idAllocator.newProof(); - const instruction = new CreateProofFromAuthZone( - resolveAddress(resourceAddress), - proof - ); - this.instructions.push(instruction); - andThen(this, proof); - return this; - } - /** * An instruction to create a proof of the entire amount of a given resource address from the auth * zone.