@microsoft/mgt-mock-provider
Advanced tools
Comparing version 3.1.3 to 4.0.0-next.mgt-chat.610757
@@ -8,2 +8,3 @@ /** | ||
export * from './mgt-mock-provider'; | ||
export * from './mgt-mock-provider'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -8,2 +8,3 @@ /** | ||
export * from './mgt-mock-provider'; | ||
export * from './mgt-mock-provider'; | ||
//# sourceMappingURL=index.js.map |
@@ -8,2 +8,3 @@ /** | ||
import { MgtBaseProvider } from '@microsoft/mgt-element'; | ||
export declare const registerMgtMockProvider: () => void; | ||
/** | ||
@@ -10,0 +11,0 @@ * Sets global provider to a mock Provider |
@@ -20,3 +20,6 @@ /** | ||
import { MockProvider } from '@microsoft/mgt-element'; | ||
import { customElement } from '@microsoft/mgt-element'; | ||
import { registerComponent } from '@microsoft/mgt-element'; | ||
export const registerMgtMockProvider = () => { | ||
registerComponent('mock-provider', MgtMockProvider); | ||
}; | ||
/** | ||
@@ -29,3 +32,3 @@ * Sets global provider to a mock Provider | ||
*/ | ||
let MgtMockProvider = class MgtMockProvider extends MgtBaseProvider { | ||
export class MgtMockProvider extends MgtBaseProvider { | ||
/** | ||
@@ -41,3 +44,3 @@ * method called to initialize the provider. Each derived class should provide | ||
} | ||
}; | ||
} | ||
__decorate([ | ||
@@ -50,6 +53,2 @@ property({ | ||
], MgtMockProvider.prototype, "signedOut", void 0); | ||
MgtMockProvider = __decorate([ | ||
customElement('mock-provider') | ||
], MgtMockProvider); | ||
export { MgtMockProvider }; | ||
//# sourceMappingURL=mgt-mock-provider.js.map |
{ | ||
"name": "@microsoft/mgt-mock-provider", | ||
"version": "3.1.3", | ||
"version": "4.0.0-next.mgt-chat.0610757", | ||
"description": "The Microsoft Graph Toolkit Mock Provider", | ||
@@ -40,4 +40,8 @@ "keywords": [ | ||
}, | ||
"sideEffects": [ | ||
"./dist/es6/index.js", | ||
"./src/index.ts" | ||
], | ||
"dependencies": { | ||
"@microsoft/mgt-element": "3.1.3" | ||
"@microsoft/mgt-element": "4.0.0-next.mgt-chat.0610757" | ||
}, | ||
@@ -44,0 +48,0 @@ "publishConfig": { |
@@ -23,3 +23,3 @@ # Microsoft Graph Toolkit Proxy Provider | ||
import {Providers} from '@microsoft/mgt-element'; | ||
import {ProxyProvider} from '@microsoft/mgt-proxy-provider'; | ||
import {ProxyProvider} from '@microsoft/mgt-proxy-provider/exports'; | ||
@@ -26,0 +26,0 @@ // initialize the auth provider globally |
@@ -7,3 +7,3 @@ /** | ||
*/ | ||
export * from './mgt-mock-provider'; | ||
export * from './mgt-mock-provider'; |
@@ -12,3 +12,8 @@ /** | ||
import { MockProvider } from '@microsoft/mgt-element'; | ||
import { customElement } from '@microsoft/mgt-element'; | ||
import { registerComponent } from '@microsoft/mgt-element'; | ||
export const registerMgtMockProvider = () => { | ||
registerComponent('mock-provider', MgtMockProvider); | ||
}; | ||
/** | ||
@@ -21,3 +26,2 @@ * Sets global provider to a mock Provider | ||
*/ | ||
@customElement('mock-provider') | ||
export class MgtMockProvider extends MgtBaseProvider { | ||
@@ -24,0 +28,0 @@ /** |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147
74754
1
1
- Removed@babel/runtime@7.26.0(transitive)
- Removed@lit-labs/ssr-dom-shim@1.2.1(transitive)
- Removed@lit/reactive-element@1.6.3(transitive)
- Removed@microsoft/mgt-element@3.1.3(transitive)
- Removed@microsoft/microsoft-graph-client@3.0.2(transitive)
- Removed@types/trusted-types@2.0.7(transitive)
- Removedidb@6.0.0(transitive)
- Removedlit@2.8.0(transitive)
- Removedlit-element@3.3.3(transitive)
- Removedlit-html@2.8.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedtslib@2.8.1(transitive)