@campnetwork/origin 0.0.1 → 0.0.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.
@@ -426,78 +426,4 @@ declare class Auth {
426
426
  callContractMethod(contractAddress: string, abi: Abi, methodName: string, params: any[], options?: CallOptions): Promise<any>;
427
427
  }
428
428
 
429
- /**
430
- The MIT License (MIT)
431
-
432
- Copyright (c) Tobias Reich
433
-
434
- Permission is hereby granted, free of charge, to any person obtaining a copy
435
- of this software and associated documentation files (the "Software"), to deal
436
- in the Software without restriction, including without limitation the rights
437
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
438
- copies of the Software, and to permit persons to whom the Software is
439
- furnished to do so, subject to the following conditions:
440
-
441
- The above copyright notice and this permission notice shall be included in
442
- all copies or substantial portions of the Software.
443
-
444
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
445
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
446
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
447
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
448
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
449
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
450
- THE SOFTWARE.
451
- */
452
- interface Options {
453
- detailed?: boolean;
454
- ignoreLocalhost?: boolean;
455
- ignoreOwnVisits?: boolean;
456
- }
457
- interface Attributes {
458
- siteLocation: string;
459
- siteReferrer: string;
460
- source?: string;
461
- siteLanguage?: string;
462
- screenWidth?: number;
463
- screenHeight?: number;
464
- screenColorDepth?: number;
465
- browserWidth?: number;
466
- browserHeight?: number;
467
- }
468
- /**
469
- * Gathers all platform-, screen- and user-related information.
470
- * @param {Boolean} detailed - Include personal data.
471
- * @returns {Object} attributes - User-related information.
472
- */
473
- declare const attributes: (detailed?: boolean) => Attributes;
474
- /**
475
- * Looks for an element with Ackee attributes and executes Ackee with the given attributes.
476
- * Fails silently.
477
- */
478
- declare const detect: () => void;
479
- /**
480
- * Creates a new instance.
481
- * @param {String} server - URL of the Ackee server.
482
- * @param {?Object} opts
483
- * @returns {Object} instance
484
- */
485
- declare const create: (server: string, opts?: Options) => {
486
- record: (domainId: string, attrs?: Attributes, next?: (recordId: string) => void) => {
487
- stop: () => void;
488
- };
489
- updateRecord: (recordId: string) => {
490
- stop: () => void;
491
- };
492
- action: (eventId: string, attrs: any, next?: (actionId: string) => void) => void;
493
- updateAction: (actionId: string, attrs: any) => void;
494
- };
495
-
496
- declare const ackeeUtil_attributes: typeof attributes;
497
- declare const ackeeUtil_create: typeof create;
498
- declare const ackeeUtil_detect: typeof detect;
499
- declare namespace ackeeUtil {
500
- export { ackeeUtil_attributes as attributes, ackeeUtil_create as create, ackeeUtil_detect as detect };
501
- }
502
-
503
- export { ackeeUtil as Ackee, Auth, SpotifyAPI, TwitterAPI };
429
+ export { Auth, SpotifyAPI, TwitterAPI };