@memberjunction/integration-engine-base 6.1.0-edge.2 → 6.1.0-edge.4
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.
package/LICENSE
CHANGED
|
@@ -1,7 +1,183 @@
|
|
|
1
|
-
|
|
1
|
+
Business Source License 1.1
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
License text copyright (c) 2024 MariaDB plc, All Rights Reserved.
|
|
4
|
+
"Business Source License" is a trademark of MariaDB plc.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
-----------------------------------------------------------------------------
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
Parameters
|
|
9
|
+
|
|
10
|
+
Licensor: Blue Cypress, Inc.
|
|
11
|
+
|
|
12
|
+
Licensed Work: MemberJunction.
|
|
13
|
+
The Licensed Work is (c) 2023-2026 Blue Cypress, Inc.
|
|
14
|
+
|
|
15
|
+
Additional Use Grant: Subject to the terms of this License, Licensor grants
|
|
16
|
+
you the following additional rights to make Production
|
|
17
|
+
Use of the Licensed Work.
|
|
18
|
+
|
|
19
|
+
1. Internal Use
|
|
20
|
+
|
|
21
|
+
You may make production use of the Licensed Work for
|
|
22
|
+
your own internal business or organizational operations.
|
|
23
|
+
|
|
24
|
+
2. Nonprofit Use
|
|
25
|
+
|
|
26
|
+
If you are a Nonprofit, you may make production use of
|
|
27
|
+
the Licensed Work for the operations and activities of
|
|
28
|
+
your Organizational Family.
|
|
29
|
+
|
|
30
|
+
3. MemberJunction Certified Program Use
|
|
31
|
+
|
|
32
|
+
If you are authorized by Licensor under the
|
|
33
|
+
MemberJunction Certified Program to provide professional
|
|
34
|
+
services using the Licensed Work, you may make
|
|
35
|
+
production use of the Licensed Work in providing such
|
|
36
|
+
professional services to a client, provided that:
|
|
37
|
+
|
|
38
|
+
(a) the Licensed Work is deployed in, and the applicable
|
|
39
|
+
production use occurs within, an environment owned,
|
|
40
|
+
leased, licensed, subscribed to, or otherwise controlled
|
|
41
|
+
by that client; and
|
|
42
|
+
|
|
43
|
+
(b) the production use is for that client's own internal
|
|
44
|
+
business or organizational operations or is otherwise
|
|
45
|
+
independently permitted to that client under this
|
|
46
|
+
Additional Use Grant.
|
|
47
|
+
|
|
48
|
+
4. Definitions Applicable to the Additional Use Grant
|
|
49
|
+
|
|
50
|
+
"Affiliate" means, with respect to a specified Person,
|
|
51
|
+
any other Person that directly or indirectly Controls,
|
|
52
|
+
is Controlled by, or is under common Control with such
|
|
53
|
+
specified Person.
|
|
54
|
+
|
|
55
|
+
"Control" (including the terms "Controls," "Controlled
|
|
56
|
+
by," and "under common Control with") means the direct
|
|
57
|
+
or indirect possession of the power to direct or cause
|
|
58
|
+
the direction of the management and policies of a
|
|
59
|
+
Person, whether through ownership of voting interests,
|
|
60
|
+
by contract, or otherwise.
|
|
61
|
+
|
|
62
|
+
"Organizational Family" means, with respect to a Person,
|
|
63
|
+
(a) such Person and its Affiliates, and (b) any
|
|
64
|
+
nonprofit organization, governmental entity, chapter,
|
|
65
|
+
division, local affiliate, regional affiliate, state
|
|
66
|
+
affiliate, national affiliate, or other entity that is
|
|
67
|
+
formally affiliated with such Person through governing
|
|
68
|
+
documents, a charter, bylaws, a membership agreement, or
|
|
69
|
+
another written organizational instrument, and is
|
|
70
|
+
recognized under such documents as part of the same
|
|
71
|
+
organizational structure.
|
|
72
|
+
|
|
73
|
+
"Nonprofit" means a Person recognized by the Internal
|
|
74
|
+
Revenue Service as exempt from federal income taxation
|
|
75
|
+
under Section 501(c)(3), 501(c)(4), 501(c)(5), or
|
|
76
|
+
501(c)(6) of the Internal Revenue Code, or a foreign
|
|
77
|
+
organization recognized under substantially equivalent
|
|
78
|
+
laws.
|
|
79
|
+
|
|
80
|
+
A Person claiming eligibility as a Nonprofit shall, upon
|
|
81
|
+
Licensor's reasonable request, provide documentation
|
|
82
|
+
reasonably sufficient to demonstrate that it qualifies
|
|
83
|
+
as a Nonprofit. If such Person materially misrepresents,
|
|
84
|
+
or is unable to demonstrate, its qualification as a
|
|
85
|
+
Nonprofit, the rights granted to such Person under
|
|
86
|
+
Section 2 of this Additional Use Grant shall terminate.
|
|
87
|
+
|
|
88
|
+
"MemberJunction Certified Program" means Licensor's
|
|
89
|
+
then-current program for certifying and authorizing a
|
|
90
|
+
Person to provide professional services using the
|
|
91
|
+
Licensed Work.
|
|
92
|
+
|
|
93
|
+
"Person" means any individual, corporation, limited
|
|
94
|
+
liability company, partnership, association, nonprofit
|
|
95
|
+
organization, governmental entity, or other legal or
|
|
96
|
+
organizational entity.
|
|
97
|
+
|
|
98
|
+
Change Date: Four (4) years from the date the Licensed Work is first
|
|
99
|
+
made available.
|
|
100
|
+
|
|
101
|
+
Change License: MIT License.
|
|
102
|
+
|
|
103
|
+
For information about alternative licensing arrangements for the Licensed
|
|
104
|
+
Work, please contact Blue Cypress, Inc.
|
|
105
|
+
|
|
106
|
+
-----------------------------------------------------------------------------
|
|
107
|
+
|
|
108
|
+
Terms
|
|
109
|
+
|
|
110
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
111
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
112
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
113
|
+
production use.
|
|
114
|
+
|
|
115
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
116
|
+
available distribution of a specific version of the Licensed Work under this
|
|
117
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
118
|
+
the terms of the Change License, and the rights granted in the paragraph
|
|
119
|
+
above terminate.
|
|
120
|
+
|
|
121
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
122
|
+
currently in effect as described in this License, you must purchase a
|
|
123
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
124
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
125
|
+
|
|
126
|
+
All copies of the original and modified Licensed Work, and derivative works
|
|
127
|
+
of the Licensed Work, are subject to this License. This License applies
|
|
128
|
+
separately for each version of the Licensed Work and the Change Date may vary
|
|
129
|
+
for each version of the Licensed Work released by Licensor.
|
|
130
|
+
|
|
131
|
+
You must conspicuously display this License on each original or modified copy
|
|
132
|
+
of the Licensed Work. If you receive the Licensed Work in original or
|
|
133
|
+
modified form from a third party, the terms and conditions set forth in this
|
|
134
|
+
License apply to your use of that work.
|
|
135
|
+
|
|
136
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
137
|
+
terminate your rights under this License for the current and all other
|
|
138
|
+
versions of the Licensed Work.
|
|
139
|
+
|
|
140
|
+
This License does not grant you any right in any trademark or logo of
|
|
141
|
+
Licensor or its affiliates (provided that you may use a trademark or logo of
|
|
142
|
+
Licensor as expressly required by this License).
|
|
143
|
+
|
|
144
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
|
|
145
|
+
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
|
|
146
|
+
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
|
|
147
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
|
|
148
|
+
TITLE.
|
|
149
|
+
|
|
150
|
+
MariaDB hereby grants you permission to use this License's text to license
|
|
151
|
+
your works, and to refer to it using the trademark "Business Source License",
|
|
152
|
+
as long as you comply with the Covenants of Licensor below.
|
|
153
|
+
|
|
154
|
+
-----------------------------------------------------------------------------
|
|
155
|
+
|
|
156
|
+
Covenants of Licensor
|
|
157
|
+
|
|
158
|
+
In consideration of the right to use this License's text and the "Business
|
|
159
|
+
Source License" name and trademark, Licensor covenants to MariaDB, and to all
|
|
160
|
+
other recipients of the licensed work to be provided by Licensor:
|
|
161
|
+
|
|
162
|
+
1. To specify as the Change License the GPL Version 2.0 or any later version,
|
|
163
|
+
or a license that is compatible with GPL Version 2.0 or a later version,
|
|
164
|
+
where "compatible" means that software provided under the Change License
|
|
165
|
+
can be included in a program with software provided under GPL Version 2.0
|
|
166
|
+
or a later version. Licensor may specify additional Change Licenses without
|
|
167
|
+
limitation.
|
|
168
|
+
|
|
169
|
+
2. To either: (a) specify an additional grant of rights to use that does not
|
|
170
|
+
impose any additional restriction on the right granted in this License, as
|
|
171
|
+
the Additional Use Grant; or (b) insert the text "None".
|
|
172
|
+
|
|
173
|
+
3. To specify a Change Date.
|
|
174
|
+
|
|
175
|
+
4. Not to modify this License in any other way.
|
|
176
|
+
|
|
177
|
+
-----------------------------------------------------------------------------
|
|
178
|
+
|
|
179
|
+
Notice
|
|
180
|
+
|
|
181
|
+
The Business Source License (this document, or the "License") is not an Open
|
|
182
|
+
Source license. However, the Licensed Work will eventually be made available
|
|
183
|
+
under an Open Source License, as stated in this License.
|
|
@@ -19,7 +19,25 @@ export declare class IntegrationEngineBase extends BaseEngine<IntegrationEngineB
|
|
|
19
19
|
private _watermarks;
|
|
20
20
|
private _integrationObjects;
|
|
21
21
|
private _integrationObjectFields;
|
|
22
|
+
/**
|
|
23
|
+
* Lazily-built objectID → fields index backing {@link GetIntegrationObjectFields}, together
|
|
24
|
+
* with the array it was built from. Identity comparison is the invalidation: the load
|
|
25
|
+
* machinery and `SeedForTesting` both REPLACE `_integrationObjectFields` rather than mutating
|
|
26
|
+
* it, so a different array means a stale index and it is rebuilt on the next read.
|
|
27
|
+
*/
|
|
28
|
+
private _fieldsByObjectID;
|
|
29
|
+
private _fieldsByObjectIDSource;
|
|
22
30
|
Config(forceRefresh?: boolean, contextUser?: UserInfo, provider?: IMetadataProvider): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Re-read ONLY the IntegrationObject/IntegrationObjectField datasets, straight from the
|
|
33
|
+
* database. `RefreshItem` will not do here: it reloads through the local dataset cache —
|
|
34
|
+
* which is the very thing that goes stale when the catalog is edited by direct SQL, a
|
|
35
|
+
* sproc-based sync push, or another process (BaseEngine's auto-refresh only sees
|
|
36
|
+
* IN-PROCESS BaseEntity saves). Replacing the arrays is also what invalidates the memoised
|
|
37
|
+
* views: the per-object field index and the connectors' GetCachedFields memo both key on
|
|
38
|
+
* ARRAY IDENTITY, so they rebuild lazily on first read after the swap.
|
|
39
|
+
*/
|
|
40
|
+
RefreshCatalog(contextUser?: UserInfo): Promise<void>;
|
|
23
41
|
/**
|
|
24
42
|
* After all entities are loaded, wire up cross-references so callers
|
|
25
43
|
* can navigate the object graph without extra lookups.
|
|
@@ -90,7 +108,22 @@ export declare class IntegrationEngineBase extends BaseEngine<IntegrationEngineB
|
|
|
90
108
|
GetIntegrationObject(integrationID: string, objectName: string): MJIntegrationObjectEntity | undefined;
|
|
91
109
|
/** Get a specific IntegrationObject by its ID. */
|
|
92
110
|
GetIntegrationObjectByID(objectID: string): MJIntegrationObjectEntity | undefined;
|
|
93
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Get all fields for a given IntegrationObject ID.
|
|
113
|
+
*
|
|
114
|
+
* Backed by a lazily-built index. The unindexed form was a full scan of EVERY
|
|
115
|
+
* IntegrationObjectField in the process, and this is called on per-record paths — a connector's
|
|
116
|
+
* `RawToExternalRecord`/`TransformRecord` resolves an object's fields for every record it
|
|
117
|
+
* transforms. On a catalog of 364 objects that scan, plus the generated `IntegrationObjectID`
|
|
118
|
+
* getter it invokes per element, measured ~46% of process CPU in a live profile.
|
|
119
|
+
*
|
|
120
|
+
* The index is keyed on the identity of `_integrationObjectFields`, which the engine replaces
|
|
121
|
+
* wholesale on load/refresh (and `SeedForTesting` replaces directly) — so a new array is a new
|
|
122
|
+
* index automatically, with no invalidation hook to forget.
|
|
123
|
+
*
|
|
124
|
+
* Still returns a fresh array per call, so callers may sort or splice the result exactly as
|
|
125
|
+
* before.
|
|
126
|
+
*/
|
|
94
127
|
GetIntegrationObjectFields(objectID: string): MJIntegrationObjectFieldEntity[];
|
|
95
128
|
/** Get active IntegrationObjects for an integration, sorted by Sequence. */
|
|
96
129
|
GetActiveIntegrationObjects(integrationID: string): MJIntegrationObjectEntity[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationEngineBase.d.ts","sourceRoot":"","sources":["../src/IntegrationEngineBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4B,iBAAiB,EAAE,QAAQ,EAAsB,MAAM,sBAAsB,CAAC;AAE7H,OAAO,KAAK,EACR,mBAAmB,EACnB,6BAA6B,EAC7B,0BAA0B,EAC1B,mCAAmC,EACnC,kCAAkC,EAClC,uCAAuC,EACvC,yBAAyB,EACzB,8BAA8B,EACjC,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;GASG;AACH,qBACa,qBAAsB,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IAExE,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,YAAY,CAAuC;IAC3D,OAAO,CAAC,oBAAoB,CAAoC;IAChE,OAAO,CAAC,WAAW,CAA6C;IAChE,OAAO,CAAC,UAAU,CAA4C;IAC9D,OAAO,CAAC,WAAW,CAAiD;IACpE,OAAO,CAAC,mBAAmB,CAAmC;IAC9D,OAAO,CAAC,wBAAwB,CAAwC;
|
|
1
|
+
{"version":3,"file":"IntegrationEngineBase.d.ts","sourceRoot":"","sources":["../src/IntegrationEngineBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA4B,iBAAiB,EAAE,QAAQ,EAAsB,MAAM,sBAAsB,CAAC;AAE7H,OAAO,KAAK,EACR,mBAAmB,EACnB,6BAA6B,EAC7B,0BAA0B,EAC1B,mCAAmC,EACnC,kCAAkC,EAClC,uCAAuC,EACvC,yBAAyB,EACzB,8BAA8B,EACjC,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;GASG;AACH,qBACa,qBAAsB,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IAExE,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,YAAY,CAAuC;IAC3D,OAAO,CAAC,oBAAoB,CAAoC;IAChE,OAAO,CAAC,WAAW,CAA6C;IAChE,OAAO,CAAC,UAAU,CAA4C;IAC9D,O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yBAAyB,GAAG,SAAS;IAIxF;;;;;;;;;;;;;;;OAeG;IACI,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,8BAA8B,EAAE;IA0BrF,4EAA4E;IACrE,2BAA2B,CAAC,aAAa,EAAE,MAAM,GAAG,yBAAyB,EAAE;IAMtF;;;;;;;OAOG;IACI,2BAA2B,CAAC,aAAa,EAAE,MAAM,GAAG,yBAAyB,EAAE;IAyBtF;;OAEG;IACH,OAAO,CAAC,eAAe;IAgDvB,WAAkB,QAAQ,IAAI,qBAAqB,CAElD;CACJ"}
|
|
@@ -28,6 +28,14 @@ let IntegrationEngineBase = class IntegrationEngineBase extends BaseEngine {
|
|
|
28
28
|
this._watermarks = [];
|
|
29
29
|
this._integrationObjects = [];
|
|
30
30
|
this._integrationObjectFields = [];
|
|
31
|
+
/**
|
|
32
|
+
* Lazily-built objectID → fields index backing {@link GetIntegrationObjectFields}, together
|
|
33
|
+
* with the array it was built from. Identity comparison is the invalidation: the load
|
|
34
|
+
* machinery and `SeedForTesting` both REPLACE `_integrationObjectFields` rather than mutating
|
|
35
|
+
* it, so a different array means a stale index and it is rebuilt on the next read.
|
|
36
|
+
*/
|
|
37
|
+
this._fieldsByObjectID = new Map();
|
|
38
|
+
this._fieldsByObjectIDSource = null;
|
|
31
39
|
}
|
|
32
40
|
// ── BaseEngine Config ─────────────────────────────────────────────
|
|
33
41
|
async Config(forceRefresh, contextUser, provider) {
|
|
@@ -75,6 +83,22 @@ let IntegrationEngineBase = class IntegrationEngineBase extends BaseEngine {
|
|
|
75
83
|
];
|
|
76
84
|
return await this.Load(params, provider, forceRefresh, contextUser);
|
|
77
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Re-read ONLY the IntegrationObject/IntegrationObjectField datasets, straight from the
|
|
88
|
+
* database. `RefreshItem` will not do here: it reloads through the local dataset cache —
|
|
89
|
+
* which is the very thing that goes stale when the catalog is edited by direct SQL, a
|
|
90
|
+
* sproc-based sync push, or another process (BaseEngine's auto-refresh only sees
|
|
91
|
+
* IN-PROCESS BaseEntity saves). Replacing the arrays is also what invalidates the memoised
|
|
92
|
+
* views: the per-object field index and the connectors' GetCachedFields memo both key on
|
|
93
|
+
* ARRAY IDENTITY, so they rebuild lazily on first read after the swap.
|
|
94
|
+
*/
|
|
95
|
+
async RefreshCatalog(contextUser) {
|
|
96
|
+
for (const prop of ['_integrationObjects', '_integrationObjectFields']) {
|
|
97
|
+
const cfg = this.Configs.find(c => c.PropertyName === prop);
|
|
98
|
+
if (cfg)
|
|
99
|
+
await this.LoadSingleConfig(cfg, (contextUser ?? this.ContextUser), /*bypassCache*/ true);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
78
102
|
/**
|
|
79
103
|
* After all entities are loaded, wire up cross-references so callers
|
|
80
104
|
* can navigate the object graph without extra lookups.
|
|
@@ -206,9 +230,47 @@ let IntegrationEngineBase = class IntegrationEngineBase extends BaseEngine {
|
|
|
206
230
|
GetIntegrationObjectByID(objectID) {
|
|
207
231
|
return this._integrationObjects.find(o => UUIDsEqual(o.ID, objectID));
|
|
208
232
|
}
|
|
209
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Get all fields for a given IntegrationObject ID.
|
|
235
|
+
*
|
|
236
|
+
* Backed by a lazily-built index. The unindexed form was a full scan of EVERY
|
|
237
|
+
* IntegrationObjectField in the process, and this is called on per-record paths — a connector's
|
|
238
|
+
* `RawToExternalRecord`/`TransformRecord` resolves an object's fields for every record it
|
|
239
|
+
* transforms. On a catalog of 364 objects that scan, plus the generated `IntegrationObjectID`
|
|
240
|
+
* getter it invokes per element, measured ~46% of process CPU in a live profile.
|
|
241
|
+
*
|
|
242
|
+
* The index is keyed on the identity of `_integrationObjectFields`, which the engine replaces
|
|
243
|
+
* wholesale on load/refresh (and `SeedForTesting` replaces directly) — so a new array is a new
|
|
244
|
+
* index automatically, with no invalidation hook to forget.
|
|
245
|
+
*
|
|
246
|
+
* Still returns a fresh array per call, so callers may sort or splice the result exactly as
|
|
247
|
+
* before.
|
|
248
|
+
*/
|
|
210
249
|
GetIntegrationObjectFields(objectID) {
|
|
211
|
-
|
|
250
|
+
// Preserve the null/undefined semantics of the original UUIDsEqual comparison (both-null
|
|
251
|
+
// matches) without giving the index a magic key — this path is vanishingly rare.
|
|
252
|
+
if (objectID == null) {
|
|
253
|
+
return this._integrationObjectFields.filter(f => UUIDsEqual(f.IntegrationObjectID, objectID));
|
|
254
|
+
}
|
|
255
|
+
if (this._fieldsByObjectIDSource !== this._integrationObjectFields) {
|
|
256
|
+
const index = new Map();
|
|
257
|
+
for (const field of this._integrationObjectFields) {
|
|
258
|
+
const id = field.IntegrationObjectID;
|
|
259
|
+
if (id == null)
|
|
260
|
+
continue;
|
|
261
|
+
// Normalised the same way UUIDsEqual compares, so SQL Server's uppercase and
|
|
262
|
+
// PostgreSQL's lowercase land on the same bucket.
|
|
263
|
+
const key = id.trim().toLowerCase();
|
|
264
|
+
const bucket = index.get(key);
|
|
265
|
+
if (bucket)
|
|
266
|
+
bucket.push(field);
|
|
267
|
+
else
|
|
268
|
+
index.set(key, [field]);
|
|
269
|
+
}
|
|
270
|
+
this._fieldsByObjectID = index;
|
|
271
|
+
this._fieldsByObjectIDSource = this._integrationObjectFields;
|
|
272
|
+
}
|
|
273
|
+
return this._fieldsByObjectID.get(objectID.trim().toLowerCase())?.slice() ?? [];
|
|
212
274
|
}
|
|
213
275
|
/** Get active IntegrationObjects for an integration, sorted by Sequence. */
|
|
214
276
|
GetActiveIntegrationObjects(integrationID) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationEngineBase.js","sourceRoot":"","sources":["../src/IntegrationEngineBase.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAyD,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC7H,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAYpD;;;;;;;;;GASG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,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 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/integration-engine-base",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.1.0-edge.
|
|
4
|
+
"version": "6.1.0-edge.4",
|
|
5
5
|
"description": "MemberJunction: Base Integration Engine - metadata caching for integrations, usable anywhere (client and server).",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"/dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@memberjunction/core": "6.1.0-edge.
|
|
13
|
-
"@memberjunction/core-entities": "6.1.0-edge.
|
|
14
|
-
"@memberjunction/global": "6.1.0-edge.
|
|
12
|
+
"@memberjunction/core": "6.1.0-edge.4",
|
|
13
|
+
"@memberjunction/core-entities": "6.1.0-edge.4",
|
|
14
|
+
"@memberjunction/global": "6.1.0-edge.4"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"typescript": "^5.9.3",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "https://github.com/MemberJunction/MJ"
|
|
24
24
|
},
|
|
25
25
|
"author": "MemberJunction.com",
|
|
26
|
-
"license": "
|
|
26
|
+
"license": "BUSL-1.1",
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsc && tsc-alias -f",
|
|
29
29
|
"test": "vitest run",
|