1.43.0 • Published 7 months ago

imean-replay-sdk v1.43.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

iMean Replay SDK

iMean Replay SDK is a powerful toolkit designed to assist developers in integrating replay functionality into their applications. This SDK is tailored for high performance and ease of use, supporting modern JavaScript frameworks and environments.

Table of Contents

Features

  • Modular Design: Includes both UMD and ES modules.
  • Cross-Platform: Works in various environments with support for modern web frameworks.
  • Performance Optimizations: Leverages popular libraries like immer and framer-motion for optimal performance.
  • TypeScript Support: Fully typed and ready to use in TypeScript projects.
  • Playwright Testing: Integrated end-to-end testing using Playwright.

Installation

You can install the iMean Replay SDK via npm:

npm install imean-replay-sdk

Or via yarn:

yarn add imean-replay-sdk

Or via pnpm:

pnpm add imean-replay-sdk

Usage

To start using the iMean Replay SDK in your project, import the module as follows:

import ReplaySDK from 'imean-replay-sdk';

ReplaySDK.init({
  mode: 'Default',
  workflow: {
    id: 'Create Event',
    steps: [
      {
        title: 'Click Create',
        id: 'AhPPa81go4KMr5CotK2eJ',
        type: 'Action',
        selector: '.mr0WL ',
        actionType: 'click',
        value: 'Create'
      },
      {
        title: 'Click Event',
        id: 'VS6c_J4nOALtUnk3mWVGW',
        type: 'Action',
        selector: '.z80M1.QJXRJc.FwR7Pc >.uyYuVb.oJeWuf >.jO7h3c ',
        actionType: 'click',
        value: 'Event'
      },
      {
        title: 'Type Title Conetnt',
        id: 'jOoGrFIxBo5UMA7i3VsrC',
        type: 'Action',
        selector: '#c96 ',
        actionType: 'type',
        value: 'test'
      },
      {
        title: 'Click Save',
        id: 'TzOr7UO2_oHTsU9youDhH',
        type: 'Action',
        selector:
          '.VfPpkd-LgbsSe.VfPpkd-LgbsSe-OWXEXe-k8QpJ.VfPpkd-LgbsSe-OWXEXe-dgl2Hf.nCP5yc.AjY5Oe.DuMIQc.LQeN7.pEVtpe >.VfPpkd-vQzf8d ',
        actionType: 'type',
        value: 'Save'
      }
    ]
  }
});

ReplaySDK.runAutomation({ index: 0 });

Supported Browsers

The iMean Replay SDK supports the following browser versions:

  • Chrome: Version 55 and above

Scripts

This project includes various scripts to help with development and building:

  • Build: Compiles the project into distributable formats.

    pnpm build
  • Development: Runs a development server with live reloading.

    pnpm dev
  • Linting: Lints the codebase and fixes issues automatically.

    pnpm lint
  • Testing: Runs the Playwright tests.

    pnpm test
  • Format: Formats the codebase using Prettier.

    pnpm format

Release Process

Releases for the iMean Replay SDK are handled using semantic versioning, driven by commit messages. The process is as follows:

  1. Commit Changes: When you're ready to commit your changes, use the following command:

    pnpm commit

    This command will guide you through crafting a well-structured commit message that adheres to the conventional commit standard. This is crucial for enabling automated semantic versioning.

  2. Automated Release: Once your changes are merged into the main branch, our CI/CD pipeline will automatically analyze the commit messages and determine whether a new release is necessary. Depending on the nature of the changes (e.g., features, fixes, breaking changes)

For more details, please refer to our Guide.

1.41.8

7 months ago

1.42.0

7 months ago

1.43.0

7 months ago

1.41.7

8 months ago

1.41.5

9 months ago

1.41.4

9 months ago

1.41.6

9 months ago

1.40.0

11 months ago

1.40.2

11 months ago

1.40.1

11 months ago

1.40.4

11 months ago

1.40.3

11 months ago

1.40.5

11 months ago

1.39.12

12 months ago

1.39.13

11 months ago

1.39.10

1 year ago

1.39.11

12 months ago

1.41.1

11 months ago

1.41.0

11 months ago

1.41.3

10 months ago

1.41.2

10 months ago

1.39.6

1 year ago

1.39.9

1 year ago

1.39.7

1 year ago

1.39.8

1 year ago

1.39.5

1 year ago

1.39.4

1 year ago

1.39.3

1 year ago

1.39.2

1 year ago

1.39.1

1 year ago

1.39.0

1 year ago

1.38.0

1 year ago

1.37.6

1 year ago

1.37.5

1 year ago

1.37.4

1 year ago

1.37.3

1 year ago

1.37.2

1 year ago

1.37.1

1 year ago

1.37.0

1 year ago

1.36.6

1 year ago

1.36.4

1 year ago

1.36.5

1 year ago

1.36.2

1 year ago

1.36.3

1 year ago

1.36.1

1 year ago

1.36.0

1 year ago

1.35.0

1 year ago

1.34.0

1 year ago

1.33.0

1 year ago

1.29.0

1 year ago

1.32.0

1 year ago

1.30.0

1 year ago

1.31.1

1 year ago

1.31.0

1 year ago

1.28.0

1 year ago

1.27.0

1 year ago

1.26.11

1 year ago

1.26.10

1 year ago

1.26.9

1 year ago

1.26.8

1 year ago

1.26.7

1 year ago

1.26.6

1 year ago

1.26.5

2 years ago

1.26.4

2 years ago

1.26.3

2 years ago

1.26.1

2 years ago

1.26.2

2 years ago

1.26.0

2 years ago

1.25.2

2 years ago

1.25.3

2 years ago

1.25.0

2 years ago

1.25.1

2 years ago

1.24.1

2 years ago

1.24.0

2 years ago

1.15.0

2 years ago

1.14.0

2 years ago

1.13.0

2 years ago

1.19.0

2 years ago

1.18.0

2 years ago

1.16.2

2 years ago

1.17.0

2 years ago

1.16.1

2 years ago

1.16.0

2 years ago

1.19.1

2 years ago

1.21.0

2 years ago

1.20.1

2 years ago

1.22.0

2 years ago

1.21.1

2 years ago

1.20.0

2 years ago

1.23.2

2 years ago

1.23.3

2 years ago

1.23.0

2 years ago

1.23.1

2 years ago

1.23.6

2 years ago

1.23.7

2 years ago

1.23.4

2 years ago

1.23.5

2 years ago

1.23.8

2 years ago

1.12.0

2 years ago

1.9.0

2 years ago

1.7.2

2 years ago

1.8.0

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.0.0

2 years ago