@automerge/automerge
Advanced tools
Comparing version 2.1.0-alpha.13 to 2.1.0
@@ -91,3 +91,3 @@ "use strict"; | ||
else if (value instanceof raw_string_js_1.RawString) { | ||
return [value.val, "str"]; | ||
return [value.toString(), "str"]; | ||
} | ||
@@ -94,0 +94,0 @@ else if (value instanceof text_js_1.Text) { |
@@ -8,3 +8,9 @@ "use strict"; | ||
} | ||
/** | ||
* Returns the content of the RawString object as a simple string | ||
*/ | ||
toString() { | ||
return this.val; | ||
} | ||
} | ||
exports.RawString = RawString; |
@@ -88,3 +88,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
else if (value instanceof RawString) { | ||
return [value.val, "str"]; | ||
return [value.toString(), "str"]; | ||
} | ||
@@ -91,0 +91,0 @@ else if (value instanceof Text) { |
@@ -5,2 +5,8 @@ export class RawString { | ||
} | ||
/** | ||
* Returns the content of the RawString object as a simple string | ||
*/ | ||
toString() { | ||
return this.val; | ||
} | ||
} |
export declare class RawString { | ||
val: string; | ||
constructor(val: string); | ||
/** | ||
* Returns the content of the RawString object as a simple string | ||
*/ | ||
toString(): string; | ||
} |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "2.1.0-alpha.13", | ||
"version": "2.1.0", | ||
"description": "Javascript implementation of automerge, backed by @automerge/automerge-wasm", | ||
@@ -72,5 +72,5 @@ "homepage": "https://github.com/automerge/automerge/tree/main/javascript", | ||
"dependencies": { | ||
"@automerge/automerge-wasm": "^0.2.12", | ||
"@automerge/automerge-wasm": "^0.2.13", | ||
"uuid": "^9.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
261888
6974
0