Skip to content

Releases: JonathanRiche/simpli.fi-api

1.0.8

10 Oct 18:24
Compare
Choose a tag to compare

Added the addGeoFences method

ie

client.addGeoFences({
 orgId: 'Orgid'; 
 campaignId: 123; 
 geoFences:[
{
  name: "Somewhere Special",
  bid_area: {
    type: "Polygon",
    coordinates: [
      [
        [-97.5, 33.1],
        [-97.5, 35.5],
        [-95.2, 35.5],
        [-95.2, 33.1],
        [-97.5, 33.1]
      ]
    ]
  }

] 
})

1.0.7

10 Oct 14:25
Compare
Choose a tag to compare

Simpli.fi API Client v1.0.7

This release includes significant enhancements and new features to provide a more comprehensive interface for interacting with the Simpli.fi API.

What's New

Expanded Functionality

  • Campaign Management: Added support for creating, updating, deleting, listing, activating, pausing, ending, and copying campaigns.
  • Ad Operations: Implemented methods for listing ads, creating ads (including with file upload), updating ads, pausing ads, verifying click tags, and bulk ad retrieval.
  • Geo-Fencing: Introduced support for managing geo-fences, including getting, deleting, updating, and replacing geo-fences for campaigns.
  • Land Use Data: Added methods to retrieve all land uses and get information on specific land uses.

Improved Configuration

  • Enhanced client initialization with flexible configuration options.
  • Support for setting API keys via constructor parameters or environment variables.

TypeScript Enhancements

  • Improved type definitions for better TypeScript support across all methods.
  • Enhanced type safety for API requests and responses.

Debug Mode

  • Introduced a debug mode option for detailed logging of API interactions.

Breaking Changes

  • The client initialization process has been updated. Please refer to the README for the new initialization method.

Bug Fixes

  • Fixed issues with error handling and API response parsing.

Documentation

  • Updated README with comprehensive examples for all new methods and features.
  • Improved inline documentation for better code understanding.

How to Update

Update your package to the latest version:

npm update simpl.fi-api-client
# or
bun update simpl.fi-api-client

Please refer to the updated README for detailed usage instructions and examples.

We appreciate your continued support and feedback. If you encounter any issues or have suggestions for improvement, please don't hesitate to open an issue on our GitHub repository.

Happy coding with Simpli.fi API Client!