Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lidangzzz committed Feb 12, 2024
1 parent 9603216 commit fdd52be
Show file tree
Hide file tree
Showing 8 changed files with 1,035 additions and 546 deletions.
6 changes: 3 additions & 3 deletions darc-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
},
"name": "darcjs",
"description": "The official JavaScript client and SDK for Project DARC (Decentralized Autonomous Regulated Company), and the compiler and runtime for By-Law Script.",
"version": "0.0.10",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"version": "0.0.11",
"main": "./dist/darcjs.js",
"types": "./dist/darcjs.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/Project-DARC/darc.js.git"
Expand Down
523 changes: 507 additions & 16 deletions darc-js/src/darcjs.ts

Large diffs are not rendered by default.

519 changes: 517 additions & 2 deletions darc-js/src/index.ts

Large diffs are not rendered by default.

517 changes: 0 additions & 517 deletions darc-js/src/sdk.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions darc-js/tests/expression-test/expression-test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {executeOperationList, operator_address_equals} from "../../src/sdk";
import {executeOperationList, operator_address_equals} from "../../src/darcjs";
import { deployDARC, DARC_VERSION} from '../../src/darcjs';
import { ethers, BigNumber } from 'ethers';
import * as DARC from '../../src/DARC/DARC';
import 'mocha';
import { expect } from 'chai';
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/sdk";
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/darcjs";
import {or, node, and, expression} from "../../src/SDK/Node";
import { transpileAndRun } from "../../src/SDK/runtime";

Expand Down
4 changes: 2 additions & 2 deletions darc-js/tests/runtime-test/transpileAndRun.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {executeOperationList} from "../../src/sdk";
import {executeOperationList} from "../../src/darcjs";
import {run, deployDARC, DARC_VERSION} from '../../src/darcjs';
import { ethers, BigNumber } from 'ethers';
import * as DARC from '../../src/DARC/DARC';
import 'mocha';
import { expect } from 'chai';
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/sdk";
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/darcjs";
import {or, node, and, expression} from "../../src/SDK/Node";
import { transpileAndRun } from "../../src/SDK/runtime";
import { transpile } from "../../src/darcjs";
Expand Down
4 changes: 2 additions & 2 deletions darc-js/tests/sdk-test/sdk-node-generation-test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {executeOperationList} from "../../src/sdk";
import {executeOperationList} from "../../src/darcjs";
import {run, deployDARC, DARC_VERSION} from '../../src/darcjs';
import { ethers, BigNumber } from 'ethers';
import * as DARC from '../../src/DARC/DARC';
import 'mocha';
import { expect } from 'chai';
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/sdk";
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/darcjs";
import {or, node, and, expression} from "../../src/SDK/Node";


Expand Down
4 changes: 2 additions & 2 deletions darc-js/tests/sdk-test/sdk-test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {executeOperationList} from "../../src/sdk";
import {executeOperationList} from "../../src/darcjs";
import {run, deployDARC, DARC_VERSION} from '../../src/darcjs';
import { ethers, BigNumber } from 'ethers';
import * as DARC from '../../src/DARC/DARC';
import 'mocha';
import { expect } from 'chai';
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/sdk";
import { batch_add_and_enable_plugins, batch_mint_tokens, batch_create_token_classes } from "../../src/darcjs";
import {or, node, and, expression} from "../../src/SDK/Node";


Expand Down

0 comments on commit fdd52be

Please sign in to comment.