Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/ui-extensions

Package Overview
Dependencies
Maintainers
24
Versions
681
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/ui-extensions - npm Package Compare versions

Comparing version 0.0.0-unstable-20230717212402 to 0.0.0-unstable-20230718152544

12

build/ts/api.d.ts

@@ -66,2 +66,14 @@ export interface StandardApi {

}
export interface Intents {
/**
* The URL that was used to launch the intent.
*/
launchUrl?: string | URL;
}
export interface Navigation {
/**
* A method to navigate to a specific route.
*/
navigate: (url: string | URL) => void;
}
//# sourceMappingURL=api.d.ts.map

10

build/ts/surfaces/admin/api/standard/standard.d.ts

@@ -1,2 +0,2 @@

import type { StandardApi as BaseStandardApi, I18n } from '../../../../api';
import type { StandardApi as BaseStandardApi, I18n, Intents, Navigation } from '../../../../api';
import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets';

@@ -14,3 +14,11 @@ /**

i18n: I18n;
/**
* Provides information to the receiver the of an intent.
*/
intents: Intents;
/**
* Provides methods to navigate to other features in the Admin.
*/
navigation: Navigation;
}
//# sourceMappingURL=standard.d.ts.map

2

package.json
{
"name": "@shopify/ui-extensions",
"version": "0.0.0-unstable-20230717212402",
"version": "0.0.0-unstable-20230718152544",
"scripts": {

@@ -5,0 +5,0 @@ "docs:admin": "sh ./docs/surfaces/admin/build-docs.sh \"admin\"",

@@ -77,1 +77,15 @@ export interface StandardApi {

}
export interface Intents {
/**
* The URL that was used to launch the intent.
*/
launchUrl?: string | URL;
}
export interface Navigation {
/**
* A method to navigate to a specific route.
*/
navigate: (url: string | URL) => void;
}

@@ -1,2 +0,7 @@

import type {StandardApi as BaseStandardApi, I18n} from '../../../../api';
import type {
StandardApi as BaseStandardApi,
I18n,
Intents,
Navigation,
} from '../../../../api';
import type {ExtensionTarget as AnyExtensionTarget} from '../../extension-targets';

@@ -16,2 +21,10 @@

i18n: I18n;
/**
* Provides information to the receiver the of an intent.
*/
intents: Intents;
/**
* Provides methods to navigate to other features in the Admin.
*/
navigation: Navigation;
}

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