@abaplint/runtime 2.12.35 → 2.13.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.
@@ -17,11 +17,11 @@ function createData(target, options) {
17
17
  if (abap.DDIC[options.name.trimEnd()] === undefined) {
18
18
  (0, throw_error_1.throwError)("CX_SY_CREATE_DATA_ERROR");
19
19
  }
20
- target.assign(new abap.types.Table(abap.DDIC[options.name.trimEnd()].type, tableOptions));
20
+ target.assign(new abap.types.Table(abap.DDIC[options.name.trimEnd()].type(), tableOptions));
21
21
  }
22
22
  else if (options?.name !== undefined) {
23
23
  if (abap.DDIC[options.name.trimEnd()]) {
24
- target.assign(abap.DDIC[options.name.trimEnd()].type.clone());
24
+ target.assign(abap.DDIC[options.name.trimEnd()].type().clone());
25
25
  }
26
26
  else if (options.name.includes("=>")) {
27
27
  const [className, typeName] = options.name.trimEnd().toUpperCase().split("=>");
@@ -151,7 +151,7 @@ function createData(target, options) {
151
151
  break;
152
152
  default:
153
153
  if (abap.DDIC[options.typeName.trimEnd()]) {
154
- target.assign(abap.DDIC[options.typeName.trimEnd()].type.clone());
154
+ target.assign(abap.DDIC[options.typeName.trimEnd()].type().clone());
155
155
  }
156
156
  else if (options.typeName.includes("=>")) {
157
157
  const [className, typeName] = options.typeName.toUpperCase().split("=>");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.12.35",
3
+ "version": "2.13.0",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",