@wise/dynamic-flow-client-internal 0.3.0 → 0.3.2

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 (2) hide show
  1. package/build/index.js +10 -32
  2. package/package.json +2 -2
package/build/index.js CHANGED
@@ -1,37 +1,15 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- exports.__esModule = true;
2
+ Object.defineProperty(exports, "__esModule", { value: true });
25
3
  exports.isValidSchema = exports.JsonSchemaForm = exports.makeFetcher = exports.translations = exports.fixtures = exports.DynamicFlow = void 0;
26
- var jsx_runtime_1 = require("react/jsx-runtime");
27
- var dynamic_flow_client_1 = require("@wise/dynamic-flow-client");
28
- var DynamicFlow = function (props) {
29
- return (0, jsx_runtime_1.jsx)(dynamic_flow_client_1.DynamicFlow, __assign({}, props));
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const dynamic_flow_client_1 = require("@wise/dynamic-flow-client");
6
+ const DynamicFlow = (props) => {
7
+ return (0, jsx_runtime_1.jsx)(dynamic_flow_client_1.DynamicFlow, Object.assign({}, props));
30
8
  };
31
9
  exports.DynamicFlow = DynamicFlow;
32
10
  var dynamic_flow_client_2 = require("@wise/dynamic-flow-client");
33
- __createBinding(exports, dynamic_flow_client_2, "fixtures");
34
- __createBinding(exports, dynamic_flow_client_2, "translations");
35
- __createBinding(exports, dynamic_flow_client_2, "makeFetcher");
36
- __createBinding(exports, dynamic_flow_client_2, "JsonSchemaForm");
37
- __createBinding(exports, dynamic_flow_client_2, "isValidSchema");
11
+ Object.defineProperty(exports, "fixtures", { enumerable: true, get: function () { return dynamic_flow_client_2.fixtures; } });
12
+ Object.defineProperty(exports, "translations", { enumerable: true, get: function () { return dynamic_flow_client_2.translations; } });
13
+ Object.defineProperty(exports, "makeFetcher", { enumerable: true, get: function () { return dynamic_flow_client_2.makeFetcher; } });
14
+ Object.defineProperty(exports, "JsonSchemaForm", { enumerable: true, get: function () { return dynamic_flow_client_2.JsonSchemaForm; } });
15
+ Object.defineProperty(exports, "isValidSchema", { enumerable: true, get: function () { return dynamic_flow_client_2.isValidSchema; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Dynamic Flow web client for Wise",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -80,7 +80,7 @@
80
80
  "react-intl": "^6"
81
81
  },
82
82
  "dependencies": {
83
- "@wise/dynamic-flow-client": "^0.4.0"
83
+ "@wise/dynamic-flow-client": "0.4.2"
84
84
  },
85
85
  "prettier": "@transferwise/eslint-config/.prettierrc.js",
86
86
  "scripts": {