@shipengine/elements-sdk 0.6.0 → 0.7.1

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/package.json CHANGED
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "name": "@shipengine/elements-sdk",
3
- "version": "0.6.0",
3
+ "version": "0.7.1",
4
4
  "types": "./public-sdk.d.ts",
5
5
  "module": "shipengine-elements-sdk.mjs",
6
6
  "peerDependencies": {
7
- "react-i18next": "*",
8
- "i18next": "*",
9
- "react": ">=17.0.0",
10
- "react-dom": ">=17.0.0"
11
- },
12
- "publishConfig": {
13
- "access": "restricted"
7
+ "@emotion/react": "11.x",
8
+ "react-i18next": "11.x",
9
+ "i18next": "22.x",
10
+ "react": "17.x || 18.x",
11
+ "react-dom": "17.x || 18.x"
14
12
  }
15
13
  }
package/public-sdk.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ISidePanelDefaultHeaderProps, SidePanelProps } from "@packlink/giger";
1
+ import { ISidePanelDefaultHeaderProps, SidePanelProps } from "@shipengine/giger";
2
2
  import { AlchemyProviderProps } from "@shipengine/alchemy";
3
3
  import * as JsApi from "@shipengine/js-api";
4
4
  import { AccountSettings, Onboarding, PurchaseLabel, ViewShipment, VoidLabel } from "@shipengine/elements";
@@ -12,6 +12,7 @@ export declare class ElementsSDK {
12
12
  getClient(token: string, config: JsApi.ShipEngineAPIConfig): {
13
13
  readonly token: never;
14
14
  readonly accountSettings: Omit<JsApi.AccountSettingsAPI, "client">;
15
+ readonly accountBillingPlan: Omit<import("@shipengine/js-api/account-billing-plan").AccountBillingPlanAPI, "client">;
15
16
  readonly addresses: Omit<JsApi.AddressesAPI, "client">;
16
17
  readonly carriers: Omit<JsApi.CarriersAPI, "client">;
17
18
  readonly customPackages: Omit<JsApi.CustomPackagesAPI, "client">;
@@ -25,6 +26,7 @@ export declare class ElementsSDK {
25
26
  readonly salesOrders: Omit<JsApi.SalesOrdersAPI, "client">;
26
27
  readonly shipments: Omit<JsApi.ShipmentsAPI, "client">;
27
28
  readonly warehouses: Omit<JsApi.WarehousesAPI, "client">;
29
+ readonly shippingRules: Omit<JsApi.ShippingRulesAPI, "client">;
28
30
  };
29
31
  constructor(getToken: AlchemyProviderProps["getToken"], options?: ElementsSDKOptions);
30
32
  unmount(): void;