Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

feat: tradetrust-core base features release #13

Merged
merged 50 commits into from
Jun 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
ed76d5c
chore: test ci
MinHtet-O Feb 5, 2024
6433781
chore: add public publish config to npm
MinHtet-O Feb 5, 2024
41b18db
1.0.4
MinHtet-O Feb 5, 2024
60a4ffd
chore: commitizen init
MinHtet-O Feb 5, 2024
6676977
fix: remove ! from greet method response
MinHtet-O Feb 5, 2024
ab220f1
debug: 1.0.5
MinHtet-O Feb 5, 2024
ee2634b
fix: 1.0.6
MinHtet-O Feb 5, 2024
4a4d13b
fix: test
MinHtet-O Feb 5, 2024
93ceb7b
fix: test
MinHtet-O Feb 5, 2024
fa4787a
fix: remove !
MinHtet-O Feb 5, 2024
48152f6
fix: add commitlint config
MinHtet-O Feb 5, 2024
43ecf41
fix: add dependencies for conventional commitlint
MinHtet-O Feb 5, 2024
9d18d58
ci: remove commit lint
MinHtet-O Feb 5, 2024
5dda7cb
Merge pull request #1 from TradeTrust/feat/test-release
MinHtet-O Feb 5, 2024
7ea17d9
chore: add to ignore coverage folder
MinHtet-O Feb 5, 2024
f4af289
feat: delete coverage folder
MinHtet-O Feb 5, 2024
43c2219
fix: lint test
MinHtet-O Feb 5, 2024
af4add4
fix: lint test
MinHtet-O Feb 5, 2024
2c830ae
fix: remove @commitlint/config-conventional
MinHtet-O Feb 5, 2024
9fa5569
chore: change github actions from v3 to v4
MinHtet-O Feb 5, 2024
6befbdd
chore: downgrade @commitlint/config-conventional
MinHtet-O Feb 6, 2024
2b04589
chore: update dependencies
MinHtet-O Feb 6, 2024
e3ed2af
feat: wrap & export tt verificationBuilder,verify and interpret fragm…
MinHtet-O Feb 7, 2024
6fa4140
chore: add v2 & v3 test data documents
MinHtet-O Feb 7, 2024
946f151
test: verify dns-txt with document store
MinHtet-O Feb 20, 2024
dbea4f2
test: verify dns-did
MinHtet-O Feb 20, 2024
024009b
test: verify dns-txt-token reg for v2 and dns-did, dns-txt-doc-store …
MinHtet-O Feb 21, 2024
49fdd76
test: verify dns-txt-token-reg for v3 documents
MinHtet-O Feb 21, 2024
005c7e7
ci: run tests
MinHtet-O Feb 21, 2024
ebea287
feat: migrate interpretFragments function from tradetrust-utils
MinHtet-O Feb 21, 2024
d6aeace
ci: make test blockchain exits after tests hv been executed
MinHtet-O Feb 21, 2024
255f9d5
ci: trigger build
MinHtet-O Feb 21, 2024
0c69f63
docs: link modules heading
MinHtet-O Feb 22, 2024
75552bc
ci: change branch name to main to setup trigger semantic release
MinHtet-O Feb 22, 2024
0221b37
Merge pull request #3 from TradeTrust/feat/tt-6-verify
MinHtet-O May 2, 2024
6a3426c
chore: specifiy strict node 10 (#6)
MinHtet-O May 8, 2024
1b3aa0f
fix: migrate tt utils modules to core (#4)
MinHtet-O May 9, 2024
510820a
fix: export methods and types from tradetrust-tt/tradetrust (#8)
MinHtet-O May 27, 2024
54e3e16
fix: export token registry (#9)
MinHtet-O May 28, 2024
ad2ae51
fix: put imports from src/utils/tradetrust/ back to src/tradetrust/ m…
MinHtet-O May 28, 2024
101c534
fix: export methods from document store (#11)
MinHtet-O Jun 3, 2024
1812756
fix: add role access management section doc for token reg (#12)
MinHtet-O Jun 4, 2024
dbfdaa9
fix: export method wrapDocument to wrap single document
MinHtet-O Jun 5, 2024
842400e
fix: revert deployAndWait method export from document store
MinHtet-O Jun 12, 2024
3fc1e4e
fix: change the sdk build target to es6
MinHtet-O Jun 12, 2024
c77c6da
fix: add types field for each export module for type discovery in esm…
MinHtet-O Jun 19, 2024
1719f52
doc: add info panel to use ethers-v5
MinHtet-O Jun 19, 2024
b21f575
doc: add common issues and workaround panel
MinHtet-O Jun 19, 2024
be43aeb
fix: add gasFee calculation logic from tradetrust-cli
MinHtet-O Jun 21, 2024
64098c5
doc: fix typol capitalize the heading for signing document
MinHtet-O Jun 21, 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
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
INFURA_API_KEY=
OKLINK_API_KEY=
STABILITY_API_KEY=
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
node_modules
dist
dist
**/__snapshots__/
# **/*.test.ts
# **/*.test.js
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "type"]
"no-duplicate-imports": "error",
"@typescript-eslint/no-explicit-any": "warn"
}
}
8 changes: 4 additions & 4 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
name: Code Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm ci --ignore-scripts
- run: npm ci
- run: npm run lint

commit-lint:
name: Commit Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Commit Lint Dependencies
run: npm install @commitlint/config-conventional
- uses: JulienKode/pull-request-name-linter-action@v0.5.0
2 changes: 1 addition & 1 deletion .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
on:
push:
branches:
- master
- main
- beta
- +([0-9])?(.{+([0-9]),x}).x

env:
NODE_ENV: ci
Expand All @@ -25,8 +22,8 @@ jobs:
runs-on: ubuntu-latest
needs: [tests, linters]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm ci
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm ci
Expand All @@ -22,8 +22,8 @@ jobs:
name: Test Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: npm ci
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ dist/

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# OS generated files
.DS_Store
Expand All @@ -29,4 +27,7 @@ Thumbs.db
.prettiercache

# TypeScript type declaration files
*.d.ts
*.d.ts

# vitest reports
coverage/
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .npmrc
engine-strict=true

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
Loading
Loading