Comparing version 0.0.3 to 0.0.4
@@ -17,3 +17,3 @@ import algosdk, { ABIValue } from "algosdk"; | ||
value: T; | ||
constructor(result: algosdk.ABIResult, value?: T); | ||
constructor(result: algosdk.ABIResult | undefined, value?: T); | ||
} | ||
@@ -20,0 +20,0 @@ export declare class ApplicationClient { |
import algosdk from "algosdk"; | ||
import { ApplicationClient, ABIResult, Schema } from "../../"; | ||
import { ApplicationClient, ABIResult, Schema } from "../.."; | ||
export declare class HelloBeaker extends ApplicationClient { | ||
@@ -4,0 +4,0 @@ desc: string; |
@@ -59,3 +59,3 @@ "use strict"; | ||
var algosdk_1 = __importDefault(require("algosdk")); | ||
var __1 = require("../../"); | ||
var __1 = require("../.."); | ||
var HelloBeaker = /** @class */ (function (_super) { | ||
@@ -62,0 +62,0 @@ __extends(HelloBeaker, _super); |
{ | ||
"name": "beaker-ts", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
"gen": "npx ts-node src/generate.ts", | ||
"beaker": "npx ts-node src/beaker.ts", | ||
"hello": "npx ts-node src/examples/hello/hello_client_example.ts", | ||
"structer": "npx ts-node src/examples/struct/structer_client_example.ts", | ||
"avm7": "npx ts-node src/examples/demo_avm7/demo_avm7_example.ts", | ||
"build": "tsc -p .", | ||
"local": "npm install -g && beaker-generate-client example_specs/hello.json src/", | ||
"package": "npm pkg . --output beaker" | ||
"local": "npm install -g && beaker-generate-client example_specs/hello.json src/" | ||
}, | ||
"bin": { | ||
"beaker-generate-client": "./lib/generate.js" | ||
"beaker": "./lib/beaker.js" | ||
}, | ||
"pkg": { | ||
"scripts": "lib/**/*.js" | ||
}, | ||
"keywords": [], | ||
@@ -25,9 +23,10 @@ "author": "", | ||
"devDependencies": { | ||
"@types/node": "^18.6.4", | ||
"@types/node": "^18.6.4" | ||
}, | ||
"dependencies": { | ||
"algosdk": "^1.19.0", | ||
"commander": "^9.4.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.7.4" | ||
}, | ||
"dependencies": { | ||
"algosdk": "^1.19.0" | ||
} | ||
} |
@@ -31,3 +31,3 @@ import algosdk, { ABIValue, SuggestedParams, TransactionParams } from "algosdk"; | ||
constructor(result: algosdk.ABIResult, value?: T){ | ||
constructor(result: algosdk.ABIResult | undefined, value?: T){ | ||
this.txID = result.txID; | ||
@@ -34,0 +34,0 @@ this.rawReturnValue = result.rawReturnValue; |
import algosdk from "algosdk"; | ||
import {ApplicationClient, ABIResult, decodeNamedTuple, Schema, AVMType} from "../../"; | ||
import {ApplicationClient, ABIResult, decodeNamedTuple, Schema, AVMType} from "../.."; | ||
export class HelloBeaker extends ApplicationClient { | ||
@@ -4,0 +4,0 @@ desc: string = ""; |
220251
1
68
3791
4
8
+ Addedcommander@^9.4.0
+ Addedts-node@^10.9.1
+ Addedtypescript@^4.7.4
+ Added@cspotcode/source-map-support@0.8.1(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.9(transitive)
+ Added@tsconfig/node10@1.0.11(transitive)
+ Added@tsconfig/node12@1.0.11(transitive)
+ Added@tsconfig/node14@1.0.3(transitive)
+ Added@tsconfig/node16@1.0.4(transitive)
+ Added@types/node@22.10.7(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-walk@8.3.4(transitive)
+ Addedarg@4.1.3(transitive)
+ Addedcommander@9.5.0(transitive)
+ Addedcreate-require@1.1.1(transitive)
+ Addeddiff@4.0.2(transitive)
+ Addedmake-error@1.3.6(transitive)
+ Addedts-node@10.9.2(transitive)
+ Addedtypescript@4.9.5(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addedv8-compile-cache-lib@3.0.1(transitive)
+ Addedyn@3.1.1(transitive)