Skip to content

Commit

Permalink
chore!: update oca-rs package to 0.6.0
Browse files Browse the repository at this point in the history
BRAKING CHANGE: order of attributes in OCA Bundle, Capture Base and Overlays has changed
which will lead to a change of SAIDs of the OCA objects generated from the same OCA Files
  • Loading branch information
olichwiruk committed Nov 15, 2024
1 parent 43b5ef8 commit 9d19e42
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion js/example/test/validating-oca.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('Missing overlay translation', () => {
})

describe('Malformed OCA Bundle', () => {
const said = 'EKwwHUyIW5NOuVi2zo6fyibkdJmFUoAoO-tJbKKeOuMb'
const said = 'EJDbEZp6bBKTe07It8XwPi6MaCMW8wtQsq5WIXrzMJfR'
const oca = {
v: 'OCAB10JSON000106_',
d: said,
Expand Down
2 changes: 1 addition & 1 deletion js/example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2583,7 +2583,7 @@ object.pick@^1.3.0:
isobject "^3.0.1"

"oca.js@file:../wasm/pkg":
version "0.4.4"
version "0.6.0"

once@^1.3.0, once@^1.3.1, once@^1.4.0:
version "1.4.0"
Expand Down
10 changes: 5 additions & 5 deletions js/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions js/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "oca-js"
description = "Bindings for the OCA in JavaScript"
version = "0.5.4"
version = "0.6.0"
license = "EUPL-1.2"
edition = "2021"
authors = [
Expand All @@ -25,8 +25,8 @@ strip = "debuginfo"

[dependencies]
isolang = { version = "2.3.0", features = ["serde"] }
oca-bundle-semantics = { version = "0.5.4", features = ["format_overlay"] }
oca-ast-semantics = { version = "0.5.4" }
oca-bundle-semantics = { version = "0.6.0", features = ["format_overlay"] }
oca-ast-semantics = { version = "0.6.0" }
serde = "1.0.130"
serde-wasm-bindgen = "0.5.0"
serde_json = "1.0.105"
Expand Down

0 comments on commit 9d19e42

Please sign in to comment.