Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(alpha PE-5740): release v1.0.0-alpha.1 #7

Merged
merged 127 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from 125 commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
467dc7a
chore(setup): added and configured jest in place of mocha
atticusofsparta Feb 9, 2024
1f9997f
chore(setup): added and configured jest in place of mocha
atticusofsparta Feb 9, 2024
553bdbb
fix(tests): update test to match jest syntax
atticusofsparta Feb 9, 2024
1954387
chore(workflow): add PR workflow
atticusofsparta Feb 9, 2024
28ff1e4
Merge remote-tracking branch 'origin/develop' into fix-tests
atticusofsparta Feb 9, 2024
014fbde
fix(jest): remove extra config
atticusofsparta Feb 9, 2024
6969d3a
Merge pull request #1 from ar-io/fix-tests
atticusofsparta Feb 9, 2024
4949514
feat(inital providers): scaffold initial providers
atticusofsparta Feb 13, 2024
b944f4d
fix(logger, errors, http): Updated to axios and axios-retry, added wi…
atticusofsparta Feb 13, 2024
e4bbc6e
fix(tests): update stubs in tests
atticusofsparta Feb 13, 2024
de5f108
fix(lint): disable no-any warning certain types
atticusofsparta Feb 13, 2024
d412d44
fix(tsconfig, names): reverted tsconfig to nodenext resolution, chang…
atticusofsparta Feb 14, 2024
fd5e0ee
fix(yarn): update lockfile
atticusofsparta Feb 14, 2024
dba7313
fix(actions): freeze lockfile
atticusofsparta Feb 14, 2024
f794437
fix(exports): update exports in indices
atticusofsparta Feb 14, 2024
4eb49cd
fix(actions): bump node setup action
atticusofsparta Feb 14, 2024
c3611ee
fix(git): test fix with file casing issue
atticusofsparta Feb 14, 2024
b5da0ab
fix(casing): revert to lower case casing
atticusofsparta Feb 14, 2024
e9eaa2d
fix(files): clean git cache of duplicate casing
atticusofsparta Feb 14, 2024
0218e95
fix(deps): remove axios-retry, will implement later
atticusofsparta Feb 14, 2024
86dc102
chore(http): abstract http client implementation for maintainability
atticusofsparta Feb 14, 2024
4ea04a7
fix(tests): update tests for named prop expectation
atticusofsparta Feb 14, 2024
7483246
fix(comments): make class logger private, remove comments
atticusofsparta Feb 14, 2024
f6c4f8b
fix(test): update test to use ArweaveTransactionID class
atticusofsparta Feb 14, 2024
3adf53b
fix(types): remove ArweaveTransactionID type for now
atticusofsparta Feb 14, 2024
9501d1d
fix(logger): remove unused logger property
atticusofsparta Feb 14, 2024
2a0a765
fix(interface): rename interface to ContractCache
atticusofsparta Feb 15, 2024
844c1aa
fix(structure): update cache provider folder to be named caches
atticusofsparta Feb 15, 2024
37f27d3
fix(structure): use snake case for file and folder names
atticusofsparta Feb 15, 2024
4b647f0
fix(generics): use named generic
atticusofsparta Feb 15, 2024
68a5a16
fix(readme): update readme with default provider example
atticusofsparta Feb 15, 2024
fa1cb72
fix(ario): make state provider nullable and default to remote arns-se…
atticusofsparta Feb 15, 2024
94810ed
fix(http): add headers sdk headers to http config
atticusofsparta Feb 15, 2024
0e6142b
fix(tests): add test for custom arIO client config
atticusofsparta Feb 15, 2024
181f103
Update README.md
atticusofsparta Feb 15, 2024
bbc2cd6
Merge branch 'PE-5652-scaffold-initial-provider' of https://github.co…
atticusofsparta Feb 15, 2024
5bcac32
fix(fixture): add type to arns state fixture
atticusofsparta Feb 15, 2024
30d3e8c
fix(tests): remove fixture and use live service for tests
atticusofsparta Feb 15, 2024
590dea6
fix(tests): test 404 response
atticusofsparta Feb 15, 2024
883de51
fix(tests): change control flow pattern to .catch instead of trycatch
atticusofsparta Feb 15, 2024
2b26d88
fix(headers): use source-version for header
atticusofsparta Feb 15, 2024
e5e9d1d
Merge pull request #2 from ar-io/PE-5652-scaffold-initial-provider
atticusofsparta Feb 15, 2024
789d100
chore(interfaces): init ario network contract interface
atticusofsparta Feb 16, 2024
849834d
fix(interface): removed filters and added base records types
atticusofsparta Feb 22, 2024
1c23cb3
fix(filters): punt filters
atticusofsparta Feb 22, 2024
5959045
fix(type): rename all type implementations
atticusofsparta Feb 22, 2024
5d87e2e
feat(arioContract): update ArIO interface and ArIOContract interface
atticusofsparta Feb 22, 2024
5a9e232
feat(first issue): setup examples, readme, and initial gateways provider
atticusofsparta Feb 23, 2024
2cce9e3
fix(exports): update package exports to have index in src folder
atticusofsparta Feb 23, 2024
c74a135
fix(postinstall): remove husky postinstall script
atticusofsparta Feb 23, 2024
0cdb2f0
fix(polyfills): rollback polyfill on logger
atticusofsparta Feb 23, 2024
ad36776
fix(build): add setImmediate polyfill for web only
Feb 24, 2024
b6cbf3f
chore(package.json): update package.json and named exports to map to …
Feb 24, 2024
c8b7998
fix(winston): move the winston polyfill - this will prevent any esm b…
Feb 24, 2024
0d93866
Merge pull request #5 from ar-io/set-immediate-polyfill
dtfiedler Feb 24, 2024
b5b6944
Update examples/node/index.mjs
atticusofsparta Feb 24, 2024
46ce22e
Update examples/node/index.cjs
atticusofsparta Feb 24, 2024
df67cb8
Update README.md
atticusofsparta Feb 24, 2024
4b23982
Update README.md
atticusofsparta Feb 24, 2024
e0aa666
Update README.md
atticusofsparta Feb 24, 2024
b2529a7
Update README.md
atticusofsparta Feb 24, 2024
cc037ac
fix(examples): update examples to use devnet
atticusofsparta Feb 24, 2024
c76e67d
fix(cacheURL): update ario cache url setting pattern to use custom ur…
atticusofsparta Feb 24, 2024
db7140b
fix(examples): update comments and fix package.json
atticusofsparta Feb 24, 2024
fb47de0
fix(example): escape quotes in packagejson for example package json
atticusofsparta Feb 24, 2024
e92da07
Merge pull request #3 from ar-io/PE-5691-ario-network-interface
atticusofsparta Feb 24, 2024
1b7f54f
feat(records): add records api to arns remote cache
atticusofsparta Feb 26, 2024
50669e1
fix(records): remove contractTxId filter remove lodash shrink readme
atticusofsparta Feb 26, 2024
2f02c53
fix(records): use state endpoint to fetch records
atticusofsparta Feb 26, 2024
90314db
fix(record records): update key to use result instead of record
atticusofsparta Feb 26, 2024
b35e5bd
fix(readme): condense quick start
atticusofsparta Feb 26, 2024
dce4a94
fix(validate id): make validator a private method
atticusofsparta Feb 26, 2024
dc82d21
fix(contracttxid): make contractTxID require in remote state cache in…
atticusofsparta Feb 26, 2024
7f2d02e
fix(ario): remove unused cache property
atticusofsparta Feb 26, 2024
bf651bb
fix(contracttxid): make contractTxID required in remote state cache i…
atticusofsparta Feb 26, 2024
a2d2a02
fix(examples): update examples with records methods, and balance methods
atticusofsparta Feb 26, 2024
817d99b
fix(readme): refactor api list to header tags
atticusofsparta Feb 26, 2024
b595818
Merge remote-tracking branch 'origin/develop' into PE-5742-get-records
atticusofsparta Feb 26, 2024
a60d96a
fix(readme): update quick start
atticusofsparta Feb 26, 2024
81637f8
fix(example): simplify example and remove unused method on remote cache
atticusofsparta Feb 27, 2024
5ba1175
fix(cache): validate arweave id before setting it
atticusofsparta Feb 27, 2024
c46cd39
feat(PE-5742): add records api to arns remote cache (#8)
atticusofsparta Feb 27, 2024
1f3c0ba
fix(): add cache config in ario constructor
atticusofsparta Feb 28, 2024
ecb279d
fix(ario): add cache config in ario constructor (#11)
atticusofsparta Feb 28, 2024
f094f15
chore(tests): add tests for blockheight and sortkey, break tests into…
atticusofsparta Feb 29, 2024
bd3d4bc
fix(naming): rename getRecord[s] to getArNSRecord[s]
atticusofsparta Feb 29, 2024
d9ee23e
fix(readme): update readme with examples
atticusofsparta Mar 1, 2024
d4bc32f
Merge branch 'develop' into PE-5751-add-blockheight-sortkey-filters
atticusofsparta Mar 1, 2024
619c193
fix(tests): update with new names on methods
atticusofsparta Mar 1, 2024
7d14edb
fix(types): remove unnecesssary empty defaults
atticusofsparta Mar 1, 2024
5c80242
fix(types): remove any type
atticusofsparta Mar 1, 2024
4208bd0
fix(tests): update ario test
atticusofsparta Mar 1, 2024
a266731
fix(indentation): fix indentation in examples
atticusofsparta Mar 1, 2024
77c6842
fix(example web): update ario instatiation
atticusofsparta Mar 1, 2024
f8ff552
fix(types): make props nullable on certain read apis
Mar 4, 2024
ae890c8
fix(tests): update tests to use younger contract, add evalParams config
Mar 5, 2024
1fcb3e6
fix(tests): update gateways test
Mar 5, 2024
2b28675
fix(validity util): isBlockheight check more strict
Mar 5, 2024
ecc07f7
fix(readme): add grammar and example recs
Mar 5, 2024
855da2d
feat(contract): create new contract classes that impelement both warp…
Mar 6, 2024
72910ce
Merge remote-tracking branch 'origin/develop' into reccomendations
Mar 6, 2024
6eb7ef5
feat(ant): create ant contract class for interacting with ant contracts
Mar 6, 2024
a58e5b4
chore: make husky files executable
Mar 6, 2024
8119e5e
chore: remove ant contract implementations for now
Mar 6, 2024
885ce68
fix(husky): add commit hooks
Mar 6, 2024
6eee06f
Merge remote-tracking branch 'origin/develop' into reccomendations
Mar 6, 2024
a961f6f
chore: remove all ant state implementations
Mar 7, 2024
8164eef
chore: update types, interfaces and add docker-compose for tests
Mar 8, 2024
a3d9801
chore: update github action to run against local servcie, formatting
Mar 8, 2024
1c0897e
chore: pin warp to 1.4.29 to avoid build issues
Mar 8, 2024
d484544
chore: move type files up and cleanup exports
Mar 8, 2024
86b00a6
chore: update tests
Mar 8, 2024
56ebb08
fix(recs): modify the interfaces for contracts and implement with war…
dtfiedler Mar 8, 2024
832a1ad
feat(PE-5751): add blockheight and sortkey eval filters (#12)
dtfiedler Mar 8, 2024
664815c
chore: remove c8 and update test reporting
Mar 8, 2024
9d4e6a1
chore(docs): update README and jest config
Mar 8, 2024
087b390
chore: update README
Mar 8, 2024
89db7fd
chore(docs): additional README updates
Mar 8, 2024
96ca3fb
chore: additional README updates
Mar 8, 2024
89588be
chore: add to developer section in README
Mar 8, 2024
6519753
chore(docs): add `nvm`
Mar 8, 2024
c4ddaae
chore: fix jest.config.cjs
Mar 8, 2024
e542094
chore: update node version in README
Mar 8, 2024
7f12e48
chore(docs): update links in the README
Mar 8, 2024
4c29e0c
chore(docs): fix links in README
Mar 8, 2024
6e0a609
chore: remove redunandt nvm file and update repository URL in package…
Mar 11, 2024
af4a20b
fix(warp-contracts): bump warp to 1.4.38 - fixed warp exports
Mar 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ lib
**/*.cjs
**/*.mjs
examples
jest.config.ts
17 changes: 8 additions & 9 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
{
"root": true,
"plugins": ["@typescript-eslint", "mocha", "prettier", "header"],
"plugins": ["@typescript-eslint", "jest", "prettier", "header"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:mocha/recommended",
"plugin:prettier/recommended"
"plugin:prettier/recommended",
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
"project": "./tsconfig.json",
},
"rules": {
"mocha/no-mocha-arrows": "off",
"header/header": ["error", "resources/license.header.js"],
"@typescript-eslint/consistent-type-imports": "off",
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
"allowNullableObject": true,
"allowNullableBoolean": true,
"allowAny": true
}
]
}
"allowAny": true,
},
],
"@typescript-eslint/no-unused-vars": "error",
},
}
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
node_version: [18.x, 20.x]
command: ['lint', 'format', 'test', 'build']
command: ['lint', 'format', 'test:integration', 'build']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set Up node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: 'yarn'
Expand Down
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn format:fix
yarn lint
9 changes: 0 additions & 9 deletions .mocharc

This file was deleted.

1 change: 1 addition & 0 deletions .nvm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.17.1
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prerelease": true
}
],
"repositoryUrl": "https://github.com/ardriveapp/node-sdk-template",
"repositoryUrl": "https://github.com/ar-io/ar-io-sdk",
"debug": "false",
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @ar-io/core-team
Loading