@ember-finance/sdk 2.29.0 → 2.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -9
  2. package/package.json +6 -8
package/README.md CHANGED
@@ -477,15 +477,17 @@ processed by vault operators.
477
477
 
478
478
  ## Releasing
479
479
 
480
- `@ember-finance/sdk` is published by `.github/workflows/publish_to_npm.yaml` using npm
481
- OIDC trusted publishing. There is no npm token — npm authorises that one workflow file by
482
- exact filename, so all three publish paths live in it and the file must not be renamed.
483
-
484
- | Intent | Action | dist-tag |
485
- | --------------- | ----------------------------------- | ------------- |
486
- | Release | Push (merge) to `main` | `latest` |
487
- | Pre-release | Push tag `pre-release-<version>` | `pre-release` |
488
- | Retry a publish | Run the workflow, pick a `dist_tag` | chosen |
480
+ The SDK lives in [ember-mono](https://github.com/fireflyprotocol/ember-mono) at
481
+ `typescript/library/ember-sdk`. `@ember-finance/sdk` is published by the monorepo's
482
+ `.github/workflows/ember_sdk_publish.yaml` using npm OIDC trusted publishing. There is no
483
+ npm token — npm authorises that one workflow file by exact filename, so all three publish
484
+ paths live in it and the file must not be renamed.
485
+
486
+ | Intent | Action | dist-tag |
487
+ | --------------- | ------------------------------------------------------- | ------------- |
488
+ | Release | Merge to `main` touching `typescript/library/ember-sdk` | `latest` |
489
+ | Pre-release | Push tag `pre-release-ember-sdk-<version>` | `pre-release` |
490
+ | Retry a publish | Run the workflow, pick a `dist_tag` | chosen |
489
491
 
490
492
  Bump `version` in `package.json` in the PR. npm versions are immutable, so the workflow
491
493
  fails early if that version is already published; to retry a failed publish, dispatch the
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-finance/sdk",
3
3
  "description": "Ember Protocol SDK",
4
- "version": "2.29.0",
4
+ "version": "2.29.1",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
7
7
  "main": "./dist/index.js",
@@ -63,7 +63,6 @@
63
63
  "scripts": {
64
64
  "build": "yarn run clean && tsc",
65
65
  "clean": "rm -rf dist",
66
- "prepare": "husky install",
67
66
  "lint": "yarn eslint --fix --cache --max-warnings=-1 .",
68
67
  "format-all": "yarn prettier --write .",
69
68
  "format-staged": "git-format-staged -f \"prettier '{}'\" '**/*.js' '**/*.json' '**/*.ts' ",
@@ -77,7 +76,7 @@
77
76
  "publish-beta": "npm publish --tag beta",
78
77
  "generate:vaults:api-client-v2": "openapi-generator-cli generate -i ./src/api/v2/openapi.yml -g typescript-axios -c ./src/api/v2/config.json -o ./src/api/v2 && node ./scripts/fix-openapi-esm.mjs ./src/api/v2",
79
78
  "generate:vaults:api-client": "openapi-generator-cli generate -i ./src/api/openapi.yml -g typescript-axios -c ./src/api/config.json -o ./src/api && node ./scripts/fix-openapi-esm.mjs ./src/api",
80
- "generate:vaults:md-docs": "widdershins --search false --language_tabs 'typescript:TypeScript' --summary ./src/api/openapi.yml -o ./src/api/README.md",
79
+ "generate:vaults:md-docs": "yarn dlx widdershins@4.0.1 --search false --language_tabs 'typescript:TypeScript' --summary ./src/api/openapi.yml -o ./src/api/README.md",
81
80
  "generate:vaults": "yarn run generate:vaults:api-client && yarn run generate:vaults:api-client-v2 && yarn run generate:vaults:md-docs && yarn run format-all"
82
81
  },
83
82
  "directories": {
@@ -94,7 +93,7 @@
94
93
  "@firefly-exchange/library-sui": "^3.0.0",
95
94
  "@mysten/bcs": "^2.0.3",
96
95
  "@mysten/sui": "^2.0.0",
97
- "@openapitools/openapi-generator-cli": "^2.24.0",
96
+ "@openapitools/openapi-generator-cli": "^2.41.0",
98
97
  "@types/chai": "^4.3.3",
99
98
  "@types/chai-as-promised": "^7.1.5",
100
99
  "@types/dotenv-parse-variables": "^2.0.1",
@@ -110,14 +109,12 @@
110
109
  "eslint-plugin-promise": "^6.0.0",
111
110
  "ethers": "6.13.4",
112
111
  "git-format-staged": "^3.0.0",
113
- "husky": "^8.0.0",
114
112
  "mocha": "^10.1.0",
115
113
  "prettier": "^3.8.1",
116
114
  "pretty-quick": "^3.1.3",
117
115
  "ts-mocha": "^10.0.0",
118
116
  "ts-node": "^10.9.1",
119
- "typescript": "*",
120
- "widdershins": "^4.0.1"
117
+ "typescript": "*"
121
118
  },
122
119
  "peerDependencies": {
123
120
  "@firefly-exchange/library-sui": "^3.0.0",
@@ -127,7 +124,8 @@
127
124
  },
128
125
  "repository": {
129
126
  "type": "git",
130
- "url": "git+https://github.com/fireflyprotocol/ember-sdk.git"
127
+ "url": "git+https://github.com/fireflyprotocol/ember-mono.git",
128
+ "directory": "typescript/library/ember-sdk"
131
129
  },
132
130
  "author": "",
133
131
  "license": "ISC",