Socket
Socket
Sign inDemoInstall

@memberjunction/core

Package Overview
Dependencies
Maintainers
2
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@memberjunction/core - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

6

dist/generic/baseEntity.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseEntity = exports.BaseEntityAIActionParams = exports.DataObjectParams = exports.DataObjectRelatedEntityParam = exports.EntityField = void 0;
const mj_global_1 = require("mj_global");
const global_1 = require("@memberjunction/global");
const entityInfo_1 = require("./entityInfo");

@@ -412,3 +412,3 @@ const interfaces_1 = require("./interfaces");

static get Provider() {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -420,3 +420,3 @@ return g[BaseEntity._globalProviderKey];

static set Provider(value) {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -423,0 +423,0 @@ g[BaseEntity._globalProviderKey] = value;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Metadata = void 0;
const mj_global_1 = require("mj_global");
const global_1 = require("@memberjunction/global");
/**

@@ -10,3 +10,3 @@ * Class used to access a wide array of MemberJunction metadata, to instantiate derived classes of BaseEntity for record access and manipulation and more. This class uses a provider model where different providers transparently plug-in to implement the functionality needed based on where the code is running. The provider in use is generally not of any importance to users of the class and code can be written indepdenent of tier/provider.

static get Provider() {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -18,3 +18,3 @@ return g[Metadata._globalProviderKey];

static set Provider(value) {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -21,0 +21,0 @@ g[Metadata._globalProviderKey] = value;

@@ -9,3 +9,3 @@ "use strict";

const securityInfo_1 = require("./securityInfo");
const mj_global_1 = require("mj_global");
const global_1 = require("@memberjunction/global");
const logging_1 = require("./logging");

@@ -184,3 +184,3 @@ const _rootPath = '../';

try {
const newObject = mj_global_1.MJGlobal.Instance.ClassFactory.CreateInstance(baseEntity_1.BaseEntity, entityName, entity);
const newObject = global_1.MJGlobal.Instance.ClassFactory.CreateInstance(baseEntity_1.BaseEntity, entityName, entity);
if (contextUser)

@@ -187,0 +187,0 @@ newObject.ContextCurrentUser = contextUser;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RunReport = void 0;
const mj_global_1 = require("mj_global");
const global_1 = require("@memberjunction/global");
class RunReport {

@@ -11,3 +11,3 @@ //private static _Provider: IRunViewProvider;

static get Provider() {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -19,3 +19,3 @@ return g[RunReport._globalProviderKey];

static set Provider(value) {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -22,0 +22,0 @@ g[RunReport._globalProviderKey] = value;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RunView = void 0;
const mj_global_1 = require("mj_global");
const global_1 = require("@memberjunction/global");
/**

@@ -20,3 +20,3 @@ * Class for runnings views in a generic, tier-independent manner - uses a provider model for

static get Provider() {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -28,3 +28,3 @@ return g[RunView._globalProviderKey];

static set Provider(value) {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -31,0 +31,0 @@ g[RunView._globalProviderKey] = value;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RunView = void 0;
const mj_global_1 = require("mj_global");
const global_1 = require("@memberjunction/global");
/**

@@ -20,3 +20,3 @@ * Class for runnings views in a generic, tier-independent manner - uses a provider model for

static get Provider() {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -28,3 +28,3 @@ return g[RunView._globalProviderKey];

static set Provider(value) {
const g = mj_global_1.MJGlobal.Instance.GetGlobalObjectStore();
const g = global_1.MJGlobal.Instance.GetGlobalObjectStore();
if (g)

@@ -31,0 +31,0 @@ g[RunView._globalProviderKey] = value;

@@ -10,3 +10,3 @@ "use strict";

exports.ViewGridState = exports.ViewSortInfo = exports.ViewSortDirectionInfo = exports.ViewFilterInfo = exports.ViewFilterLogicInfo = exports.ViewColumnInfo = exports.ViewInfo = exports.UserViewEntityBase = void 0;
const mj_global_1 = require("mj_global");
const global_1 = require("@memberjunction/global");
const metadata_1 = require("../generic/metadata");

@@ -332,3 +332,3 @@ const baseEntity_1 = require("../generic/baseEntity");

UserViewEntityBase = __decorate([
(0, mj_global_1.RegisterClass)(baseEntity_1.BaseEntity, 'User Views', -1) // -1 priority because we want the generated UserViewEntity class to be used ahead of this and it gets generated with a priority of 0 by default
(0, global_1.RegisterClass)(baseEntity_1.BaseEntity, 'User Views', -1) // -1 priority because we want the generated UserViewEntity class to be used ahead of this and it gets generated with a priority of 0 by default
], UserViewEntityBase);

@@ -335,0 +335,0 @@ exports.UserViewEntityBase = UserViewEntityBase;

{
"name": "@memberjunction/core",
"version": "0.9.0",
"version": "0.9.1",
"description": "MemberJunction: Core Library including Metadata, Application, and Entity Retrieval and Manipulation",

@@ -22,4 +22,4 @@ "main": "dist/index.js",

"dependencies": {
"@memberjunction/global" : "^0.9.0"
"@memberjunction/global" : "^0.9.1"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc