@vknext/shared 1.4.0 → 1.4.2

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.
@@ -817,12 +817,15 @@ interface IVKApi {
817
817
  params: Record<string, any>,
818
818
  m?: {
819
819
  grouping?: boolean;
820
+ accessToken?: string;
821
+ version?: string;
822
+ appId?: string;
820
823
  },
821
824
  signal?: {
822
825
  signal?: AbortSignal;
823
826
  },
824
827
  ): Promise<T>;
825
- login(method: string): Promise<IVKApiLoginResponse>;
828
+ login(method: string, params: Record<string, any>): Promise<IVKApiLoginResponse>;
826
829
  }
827
830
 
828
831
  interface IStories {
@@ -837,10 +840,6 @@ interface IStories {
837
840
  }
838
841
 
839
842
  declare global {
840
- /**
841
- * !!! internal !!!
842
- */
843
- var __callbacksGlobals: Map<any, Set<Callback<any>>> | undefined;
844
843
  var Hls: typeof HlsJs | undefined;
845
844
  var TopNotifier: ITopNotifier;
846
845
  var Wall: IWall;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vknext/shared",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "vk next shared",
5
5
  "type": "module",
6
6
  "files": [