amf-client-js 5.5.2 → 5.5.3

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 (3) hide show
  1. package/amf.js +12343 -12096
  2. package/package.json +1 -1
  3. package/typings/amf-client-js.d.ts +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.5.2",
3
+ "version": "5.5.3",
4
4
  "description": "AMF Library",
5
5
  "main": "amf.js",
6
6
  "author": "amf team",
@@ -1443,6 +1443,9 @@ declare module "amf-client-js" {
1443
1443
  writeOnly: BoolField;
1444
1444
  xmlSerialization: XMLSerializer;
1445
1445
  xone: Array<Shape>;
1446
+ namespace: StrField;
1447
+ aliases: Array<StrField>;
1448
+ size: IntField;
1446
1449
 
1447
1450
  constructor();
1448
1451
 
@@ -1531,6 +1534,12 @@ declare module "amf-client-js" {
1531
1534
  withXMLSerialization(xmlSerialization: XMLSerializer): this;
1532
1535
 
1533
1536
  withXone(subShapes: Array<Shape>): this;
1537
+
1538
+ withNamespace(namespace: string): this;
1539
+
1540
+ withAliases(aliases: Array<string>): this;
1541
+
1542
+ withSize(size: number): this;
1534
1543
  }
1535
1544
  export class Api<A> implements DomainElement {
1536
1545
  accepts: Array<StrField>;
@@ -1716,6 +1725,9 @@ declare module "amf-client-js" {
1716
1725
 
1717
1726
  withVersion(version: string): this;
1718
1727
  }
1728
+ export class AvroConfiguration {
1729
+ static Avro(): AMFConfiguration;
1730
+ }
1719
1731
  export class BaseAMLBaseUnitClient extends AMFGraphBaseUnitClient {
1720
1732
  parseDialect(url: string): Promise<AMLDialectResult>;
1721
1733