@lokiengineering/loki-common-node 0.0.1-rc → 1.1.0

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.
package/README.md CHANGED
@@ -141,15 +141,20 @@ dist/ # Compiled output (generated)
141
141
 
142
142
  ### Publish a Release
143
143
 
144
- The version is automatically read from `package.json`, so:
144
+ **Requirements:**
145
+ - Tag must be created on `main` branch (or after merging to main)
146
+ - The version must match in both `package.json` and git tag
147
+
148
+ **Steps:**
145
149
 
146
150
  1. Update the version in `package.json` (e.g., `0.1.0`)
147
- 2. Commit and push to main
148
- 3. Create a git tag matching the version: `git tag v0.1.0`
151
+ 2. Commit and push to main: `git push origin main`
152
+ 3. Create a git tag from main: `git tag v0.1.0`
149
153
  4. Push the tag: `git push origin v0.1.0`
150
154
  5. GitHub Actions automatically builds and publishes to npm
151
155
 
152
156
  The workflow will:
157
+ - ✓ Verify the tag exists on the main branch
153
158
  - ✓ Verify that `package.json` version matches the git tag
154
159
  - ✓ Build TypeScript
155
160
  - ✓ Run type checking and formatting checks
package/dist/index.d.ts CHANGED
@@ -226,7 +226,8 @@ declare enum BusinessLogicErrorEnum {
226
226
  CANNOT_DELETE_PRIMARY_ADDRESS = "CANNOT_DELETE_PRIMARY_ADDRESS",
227
227
  MAX_DEPOSIT_EXCEEDED = "MAX_DEPOSIT_EXCEEDED",
228
228
  EDITION_HAS_ACTIVE_COPIES = "EDITION_HAS_ACTIVE_COPIES",
229
- INVALID_ORDER_TRANSITION_CONFIG = "INVALID_ORDER_TRANSITION_CONFIG"
229
+ INVALID_ORDER_TRANSITION_CONFIG = "INVALID_ORDER_TRANSITION_CONFIG",
230
+ MISMATCH_LATE_INPUT = "MISMATCH_LATE_INPUT"
230
231
  }
231
232
  declare enum GeneralErrorEnum {
232
233
  ROUTE_NOT_FOUND = "ROUTE_NOT_FOUND",
package/dist/index.js CHANGED
@@ -262,6 +262,7 @@ var BusinessLogicErrorEnum = /* @__PURE__ */ ((BusinessLogicErrorEnum2) => {
262
262
  BusinessLogicErrorEnum2["MAX_DEPOSIT_EXCEEDED"] = "MAX_DEPOSIT_EXCEEDED";
263
263
  BusinessLogicErrorEnum2["EDITION_HAS_ACTIVE_COPIES"] = "EDITION_HAS_ACTIVE_COPIES";
264
264
  BusinessLogicErrorEnum2["INVALID_ORDER_TRANSITION_CONFIG"] = "INVALID_ORDER_TRANSITION_CONFIG";
265
+ BusinessLogicErrorEnum2["MISMATCH_LATE_INPUT"] = "MISMATCH_LATE_INPUT";
265
266
  return BusinessLogicErrorEnum2;
266
267
  })(BusinessLogicErrorEnum || {});
267
268
  var GeneralErrorEnum = /* @__PURE__ */ ((GeneralErrorEnum2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokiengineering/loki-common-node",
3
- "version": "0.0.1-rc",
3
+ "version": "1.1.0",
4
4
  "description": "Shared TypeScript enums and types for Loki services",
5
5
  "license": "MIT",
6
6
  "repository": {