@tableland/sdk
Advanced tools
Comparing version 4.0.0-pre.8 to 4.0.0
@@ -21,3 +21,3 @@ import { providers, type Signer, type Overrides, type ContractTransaction, type ContractReceipt } from "ethers"; | ||
export declare function getSigner(external?: ExternalProvider): Promise<Signer>; | ||
export { Signer, ExternalProvider, getDefaultProvider, ContractTransaction, ContractReceipt, }; | ||
export { Signer, getDefaultProvider, type ExternalProvider, type ContractTransaction, type ContractReceipt, }; | ||
//# sourceMappingURL=ethers.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import { TablelandTables } from "@tableland/evm"; | ||
import { Overrides } from "ethers"; | ||
import { Signer } from "../helpers/ethers.js"; | ||
import { type TablelandTables } from "@tableland/evm"; | ||
import type { Overrides } from "ethers"; | ||
import { type Signer } from "../helpers/ethers.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * TableIdentifier represents the information required to identify a table on the Tableland network. |
import { type SignerConfig } from "../helpers/config.js"; | ||
import { type ContractTransaction } from "../helpers/ethers.js"; | ||
import { TableIdentifier } from "./contract.js"; | ||
import { type TableIdentifier } from "./contract.js"; | ||
export interface PrepareParams { | ||
@@ -5,0 +5,0 @@ /** |
@@ -21,3 +21,3 @@ import { providers, type Signer, type Overrides, type ContractTransaction, type ContractReceipt } from "ethers"; | ||
export declare function getSigner(external?: ExternalProvider): Promise<Signer>; | ||
export { Signer, ExternalProvider, getDefaultProvider, ContractTransaction, ContractReceipt, }; | ||
export { Signer, getDefaultProvider, type ExternalProvider, type ContractTransaction, type ContractReceipt, }; | ||
//# sourceMappingURL=ethers.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import { TablelandTables } from "@tableland/evm"; | ||
import { Overrides } from "ethers"; | ||
import { Signer } from "../helpers/ethers.js"; | ||
import { type TablelandTables } from "@tableland/evm"; | ||
import type { Overrides } from "ethers"; | ||
import { type Signer } from "../helpers/ethers.js"; | ||
/** | ||
@@ -5,0 +5,0 @@ * TableIdentifier represents the information required to identify a table on the Tableland network. |
import { type SignerConfig } from "../helpers/config.js"; | ||
import { type ContractTransaction } from "../helpers/ethers.js"; | ||
import { TableIdentifier } from "./contract.js"; | ||
import { type TableIdentifier } from "./contract.js"; | ||
export interface PrepareParams { | ||
@@ -5,0 +5,0 @@ /** |
{ | ||
"name": "@tableland/sdk", | ||
"version": "4.0.0-pre.8", | ||
"version": "4.0.0", | ||
"description": "A database client and helpers for the Tableland network", | ||
@@ -63,2 +63,5 @@ "publishConfig": { | ||
"test": "mocha", | ||
"test:browser": "PW_TS_ESM_ON=true playwright test", | ||
"test:browser-show-report": "npx playwright show-report", | ||
"test-server": "cd test/browser/server && npm run dev", | ||
"coverage": "c8 --exclude src/validator/client/fetcher.ts --exclude test mocha --exit", | ||
@@ -83,3 +86,4 @@ "docs": "typedoc --entryPoints src/index.ts", | ||
"@ethersproject/experimental": "^5.7.0", | ||
"@tableland/local": "^1.0.0-pre.2", | ||
"@playwright/test": "^1.30.0", | ||
"@tableland/local": "^1.0.0-pre.3", | ||
"@types/assert": "^1.5.6", | ||
@@ -96,3 +100,3 @@ "@types/mocha": "^10.0.1", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-config-standard-with-typescript": "^31.0.0", | ||
"eslint-config-standard-with-typescript": "^34.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
@@ -110,5 +114,5 @@ "eslint-plugin-n": "^15.6.0", | ||
"@tableland/evm": "^4.0.0", | ||
"@tableland/sqlparser": "^1.0.3", | ||
"@tableland/sqlparser": "^1.0.4", | ||
"ethers": "^5.7.2" | ||
} | ||
} |
@@ -101,2 +101,9 @@ # @tableland/sdk | ||
To run tests in a few of the common browser environments we are using Playwright. Once your code changes are finished you can run the brower tests by doing: | ||
- `cd test/browser/server` | ||
- `npm install` | ||
- `cd ../../` | ||
- `npm run test:browser` | ||
# Contributing | ||
@@ -103,0 +110,0 @@ |
@@ -96,6 +96,6 @@ import { | ||
Signer, | ||
ExternalProvider, | ||
getDefaultProvider, | ||
ContractTransaction, | ||
ContractReceipt, | ||
type ExternalProvider, | ||
type ContractTransaction, | ||
type ContractReceipt, | ||
}; |
import { | ||
TablelandTables, | ||
type TablelandTables, | ||
TablelandTables__factory as Factory, | ||
} from "@tableland/evm"; | ||
import { Overrides } from "ethers"; | ||
import { getOverrides, Signer } from "../helpers/ethers.js"; | ||
import type { Overrides } from "ethers"; | ||
import { getOverrides, type Signer } from "../helpers/ethers.js"; | ||
import { validateTableName } from "../helpers/parser.js"; | ||
@@ -8,0 +8,0 @@ import { getContractAddress } from "../helpers/chains.js"; |
@@ -6,3 +6,3 @@ import { type SignerConfig } from "../helpers/config.js"; | ||
getContractAndOverrides, | ||
TableIdentifier, | ||
type TableIdentifier, | ||
assertChainId, | ||
@@ -9,0 +9,0 @@ } from "./contract.js"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
419895
1
118
26
Updated@tableland/sqlparser@^1.0.4